[][src]Struct melib::backends::jmap::rfc8620::UploadResponse

pub struct UploadResponse {
    pub account_id: Id<Account>,
    pub blob_id: Id<BlobObject>,
    pub _type: String,
    pub size: usize,
}

Fields

account_id: Id<Account>

o accountId: "Id"

The id of the account used for the call.

blob_id: Id<BlobObject>

o blobId: "Id"

The id representing the binary data uploaded. The data for this id is immutable. The id only refers to the binary data, not any metadata.

_type: String

o type: "String"

The media type of the file (as specified in [RFC6838], Section 4.2) as set in the Content-Type header of the upload HTTP request.

size: usize

o size: "UnsignedInt"

The size of the file in octets.

Trait Implementations

impl Debug for UploadResponse[src]

impl<'de> Deserialize<'de> for UploadResponse[src]

impl Serialize for UploadResponse[src]

Auto Trait Implementations

impl RefUnwindSafe for UploadResponse

impl Send for UploadResponse

impl Sync for UploadResponse

impl Unpin for UploadResponse

impl UnwindSafe for UploadResponse

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]