pub enum AttachmentCategory {
ContactPhoto,
Document,
Image,
Receipt,
Signature,
Sound,
Other,
}Expand description
AttachmentCategory
Enumerates the category of an attachment (for example: Document, Image, Receipt).
Variants§
Trait Implementations§
Source§impl Clone for AttachmentCategory
impl Clone for AttachmentCategory
Source§fn clone(&self) -> AttachmentCategory
fn clone(&self) -> AttachmentCategory
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 AttachmentCategory
impl Debug for AttachmentCategory
Source§impl Default for AttachmentCategory
impl Default for AttachmentCategory
Source§fn default() -> AttachmentCategory
fn default() -> AttachmentCategory
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AttachmentCategory
impl<'de> Deserialize<'de> for AttachmentCategory
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
Source§impl PartialEq for AttachmentCategory
impl PartialEq for AttachmentCategory
Source§impl Serialize for AttachmentCategory
impl Serialize for AttachmentCategory
impl StructuralPartialEq for AttachmentCategory
Auto Trait Implementations§
impl Freeze for AttachmentCategory
impl RefUnwindSafe for AttachmentCategory
impl Send for AttachmentCategory
impl Sync for AttachmentCategory
impl Unpin for AttachmentCategory
impl UnwindSafe for AttachmentCategory
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