pub enum AttachmentFormat {
Base64,
Json(Value),
Links {
links: Vec<String>,
},
}Expand description
Attachment format enumeration.
Variants§
Trait Implementations§
Source§impl Clone for AttachmentFormat
impl Clone for AttachmentFormat
Source§fn clone(&self) -> AttachmentFormat
fn clone(&self) -> AttachmentFormat
Returns a copy 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 AttachmentFormat
impl Debug for AttachmentFormat
Source§impl<'de> Deserialize<'de> for AttachmentFormat
impl<'de> Deserialize<'de> for AttachmentFormat
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 AttachmentFormat
impl RefUnwindSafe for AttachmentFormat
impl Send for AttachmentFormat
impl Sync for AttachmentFormat
impl Unpin for AttachmentFormat
impl UnwindSafe for AttachmentFormat
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