Struct mailslurp::apis::attachment_controller_api::UploadAttachmentBytesParams [−][src]
pub struct UploadAttachmentBytesParams { pub string: Option<String>, pub filename: Option<String>, pub byte_array: Option<String>, }
Expand description
struct for passing parameters to the method upload_attachment_bytes
Fields
string: Option<String>
Optional contentType for file. For instance application/pdf
filename: Option<String>
Optional filename to save upload with
byte_array: Option<String>
Byte array request body
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for UploadAttachmentBytesParams
impl Send for UploadAttachmentBytesParams
impl Sync for UploadAttachmentBytesParams
impl Unpin for UploadAttachmentBytesParams
impl UnwindSafe for UploadAttachmentBytesParams
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more