pub struct UploadAttachmentPart {
pub field_name: Option<String>,
pub filename: String,
pub content_type: Option<String>,
pub data: Vec<u8>,
}Fields§
§field_name: Option<String>§filename: String§content_type: Option<String>§data: Vec<u8>Trait Implementations§
Source§impl Clone for UploadAttachmentPart
impl Clone for UploadAttachmentPart
Source§fn clone(&self) -> UploadAttachmentPart
fn clone(&self) -> UploadAttachmentPart
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for UploadAttachmentPart
impl RefUnwindSafe for UploadAttachmentPart
impl Send for UploadAttachmentPart
impl Sync for UploadAttachmentPart
impl Unpin for UploadAttachmentPart
impl UnsafeUnpin for UploadAttachmentPart
impl UnwindSafe for UploadAttachmentPart
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more