pub enum AttachmentContent {
Text(String),
Reference,
}Expand description
The content of a file attachment.
Variants§
Text(String)
Text file content inlined verbatim (≤50 KB).
Reference
Binary file or large text file — metadata only, no content.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AttachmentContent
impl RefUnwindSafe for AttachmentContent
impl Send for AttachmentContent
impl Sync for AttachmentContent
impl Unpin for AttachmentContent
impl UnsafeUnpin for AttachmentContent
impl UnwindSafe for AttachmentContent
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