pub struct FileAttachmentContent {
pub content_type: String,
pub file: FileData,
}Expand description
Wrapper for a file content attachment.
Fields§
§content_type: String§file: FileDataTrait Implementations§
Source§impl Clone for FileAttachmentContent
impl Clone for FileAttachmentContent
Source§fn clone(&self) -> FileAttachmentContent
fn clone(&self) -> FileAttachmentContent
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 moreSource§impl Debug for FileAttachmentContent
impl Debug for FileAttachmentContent
Source§impl<'de> Deserialize<'de> for FileAttachmentContent
impl<'de> Deserialize<'de> for FileAttachmentContent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FileAttachmentContent
impl RefUnwindSafe for FileAttachmentContent
impl Send for FileAttachmentContent
impl Sync for FileAttachmentContent
impl Unpin for FileAttachmentContent
impl UnsafeUnpin for FileAttachmentContent
impl UnwindSafe for FileAttachmentContent
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