Struct mailslurp::apis::email_controller_api::DownloadAttachmentParams [−][src]
pub struct DownloadAttachmentParams { pub attachment_id: String, pub email_id: String, pub api_key: Option<String>, }
Expand description
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
Auto Trait Implementations
impl RefUnwindSafe for DownloadAttachmentParams
impl Send for DownloadAttachmentParams
impl Sync for DownloadAttachmentParams
impl Unpin for DownloadAttachmentParams
impl UnwindSafe for DownloadAttachmentParams
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more