Struct mailslurp::apis::email_controller_api::DownloadAttachmentParams[][src]

pub struct DownloadAttachmentParams {
    pub attachment_id: String,
    pub email_id: String,
    pub api_key: Option<String>,
}

struct for passing parameters to the method download_attachment

Fields

attachment_id: String

ID of attachment

email_id: String

ID of email

api_key: Option<String>

Can pass apiKey in url for this request if you wish to download the file in a browser. Content type will be set to original content type of the attachment file. This is so that browsers can download the file correctly.

Trait Implementations

impl Clone for DownloadAttachmentParams[src]

impl Debug for DownloadAttachmentParams[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> 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> 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.