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 Clone for DownloadAttachmentParams
[src]fn clone(&self) -> DownloadAttachmentParams
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl RefUnwindSafe for DownloadAttachmentParams
impl RefUnwindSafe for DownloadAttachmentParams
impl Send for DownloadAttachmentParams
impl Send for DownloadAttachmentParams
impl Sync for DownloadAttachmentParams
impl Sync for DownloadAttachmentParams
impl Unpin for DownloadAttachmentParams
impl Unpin for DownloadAttachmentParams
impl UnwindSafe for DownloadAttachmentParams
impl UnwindSafe for DownloadAttachmentParams
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]