Enum vkrs::api::AttachmentKind
[−]
[src]
pub enum AttachmentKind { Photo, Video, Audio, Document, }
Variants
Photo
Video
Audio
Document
Trait Implementations
impl Copy for AttachmentKind
[src]
impl Clone for AttachmentKind
[src]
fn clone(&self) -> AttachmentKind
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for AttachmentKind
[src]
fn eq(&self, __arg_0: &AttachmentKind) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Eq for AttachmentKind
[src]
impl Debug for AttachmentKind
[src]
impl AsRef<str> for AttachmentKind
[src]
impl FromStr for AttachmentKind
[src]
type Err = ()
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<AttachmentKind, ()>
Parses a string s
to return a value of this type. Read more
impl Deserialize for AttachmentKind
[src]
fn deserialize<D: Deserializer>(d: &mut D) -> Result<AttachmentKind, D::Error>
Deserialize this value given this Deserializer
.