Struct mailslurp::models::attachment_meta_data::AttachmentMetaData [−][src]
pub struct AttachmentMetaData { pub content_length: Option<i64>, pub content_type: Option<String>, pub id: Option<String>, pub name: Option<String>, }
Expand description
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 such as image/png
id: Option<String>
ID of attachment
name: Option<String>
Name of attachment if given
Implementations
Meta data associated with an attachment. Attachments are stored as byte blobs so the meta data is stored separately.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for AttachmentMetaData
impl Send for AttachmentMetaData
impl Sync for AttachmentMetaData
impl Unpin for AttachmentMetaData
impl UnwindSafe for AttachmentMetaData
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more