[][src]Struct mailslurp::models::attachment_meta_data::AttachmentMetaData

pub struct AttachmentMetaData {
    pub content_length: Option<i64>,
    pub content_type: Option<String>,
    pub id: Option<String>,
    pub name: Option<String>,
}

AttachmentMetaData : Meta data associated with an attachment. Attachments are stored as byte blobs so the meta data is stored separately.

Fields

content_length: Option<i64>

Size of attachment in bytes

content_type: Option<String>

Content type of attachment

id: Option<String>

ID of attachment

name: Option<String>

Name of attachment

Implementations

impl AttachmentMetaData[src]

pub fn new() -> AttachmentMetaData[src]

Meta data associated with an attachment. Attachments are stored as byte blobs so the meta data is stored separately.

Trait Implementations

impl Clone for AttachmentMetaData[src]

impl Debug for AttachmentMetaData[src]

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

impl PartialEq<AttachmentMetaData> for AttachmentMetaData[src]

impl Serialize for AttachmentMetaData[src]

impl StructuralPartialEq for AttachmentMetaData[src]

Auto Trait Implementations

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, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.