Struct mailslurp::apis::attachment_controller_api::UploadMultipartFormParams [−][src]
pub struct UploadMultipartFormParams { pub file: PathBuf, pub content_type: Option<String>, pub filename: Option<String>, pub x_filename: Option<String>, }
Expand description
struct for passing parameters to the method upload_multipart_form
Fields
file: PathBuf
file
content_type: Option<String>
Optional content type of attachment
filename: Option<String>
Optional name of file
x_filename: Option<String>
Optional content type header of attachment
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for UploadMultipartFormParams
impl Send for UploadMultipartFormParams
impl Sync for UploadMultipartFormParams
impl Unpin for UploadMultipartFormParams
impl UnwindSafe for UploadMultipartFormParams
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more