[][src]Struct mailslurp::models::download_attachment_dto::DownloadAttachmentDto

pub struct DownloadAttachmentDto {
    pub base64_file_contents: Option<String>,
    pub content_type: Option<String>,
    pub size_bytes: Option<i64>,
}

DownloadAttachmentDto : Content of attachment

Fields

base64_file_contents: Option<String>

Base64 encoded string of attachment bytes. Decode the base64 string to get the raw file bytes

content_type: Option<String>

Content type of attachment

size_bytes: Option<i64>

Size in bytes of attachment

Implementations

impl DownloadAttachmentDto[src]

pub fn new() -> DownloadAttachmentDto[src]

Content of attachment

Trait Implementations

impl Clone for DownloadAttachmentDto[src]

impl Debug for DownloadAttachmentDto[src]

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

impl PartialEq<DownloadAttachmentDto> for DownloadAttachmentDto[src]

impl Serialize for DownloadAttachmentDto[src]

impl StructuralPartialEq for DownloadAttachmentDto[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.