pub enum PushAttachmentFileType {
File,
}Expand description
Attachment type discriminator
Variants§
File
Trait Implementations§
Source§impl Clone for PushAttachmentFileType
impl Clone for PushAttachmentFileType
Source§fn clone(&self) -> PushAttachmentFileType
fn clone(&self) -> PushAttachmentFileType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PushAttachmentFileType
impl Debug for PushAttachmentFileType
Source§impl Default for PushAttachmentFileType
impl Default for PushAttachmentFileType
Source§fn default() -> PushAttachmentFileType
fn default() -> PushAttachmentFileType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PushAttachmentFileType
impl<'de> Deserialize<'de> for PushAttachmentFileType
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
impl Eq for PushAttachmentFileType
Source§impl PartialEq for PushAttachmentFileType
impl PartialEq for PushAttachmentFileType
Source§fn eq(&self, other: &PushAttachmentFileType) -> bool
fn eq(&self, other: &PushAttachmentFileType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PushAttachmentFileType
impl Serialize for PushAttachmentFileType
impl StructuralPartialEq for PushAttachmentFileType
Auto Trait Implementations§
impl Freeze for PushAttachmentFileType
impl RefUnwindSafe for PushAttachmentFileType
impl Send for PushAttachmentFileType
impl Sync for PushAttachmentFileType
impl Unpin for PushAttachmentFileType
impl UnsafeUnpin for PushAttachmentFileType
impl UnwindSafe for PushAttachmentFileType
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