pub enum AttachmentKind {
File,
Image,
Video,
Voice,
}Variants§
Trait Implementations§
Source§impl Clone for AttachmentKind
impl Clone for AttachmentKind
Source§fn clone(&self) -> AttachmentKind
fn clone(&self) -> AttachmentKind
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AttachmentKind
impl Debug for AttachmentKind
Source§impl<'de> Deserialize<'de> for AttachmentKind
impl<'de> Deserialize<'de> for AttachmentKind
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AttachmentKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AttachmentKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AttachmentKind
impl PartialEq for AttachmentKind
Source§impl Serialize for AttachmentKind
impl Serialize for AttachmentKind
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for AttachmentKind
impl Eq for AttachmentKind
impl StructuralPartialEq for AttachmentKind
Auto Trait Implementations§
impl Freeze for AttachmentKind
impl RefUnwindSafe for AttachmentKind
impl Send for AttachmentKind
impl Sync for AttachmentKind
impl Unpin for AttachmentKind
impl UnwindSafe for AttachmentKind
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)