Enum vkrs::api::AttachmentKind
source · pub enum AttachmentKind {
Photo,
Video,
Audio,
Document,
}
Variants
Photo
Video
Audio
Document
Trait Implementations
sourceimpl AsRef<str> for AttachmentKind
impl AsRef<str> for AttachmentKind
sourceimpl Clone for AttachmentKind
impl Clone for AttachmentKind
sourcefn clone(&self) -> AttachmentKind
fn clone(&self) -> AttachmentKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for AttachmentKind
impl Debug for AttachmentKind
sourceimpl<'de> Deserialize<'de> for AttachmentKind
impl<'de> Deserialize<'de> for AttachmentKind
sourcefn deserialize<D: Deserializer<'de>>(d: D) -> Result<AttachmentKind, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<AttachmentKind, D::Error>
Deserialize this value from the given Serde deserializer. Read more
sourceimpl FromStr for AttachmentKind
impl FromStr for AttachmentKind
sourceimpl PartialEq<AttachmentKind> for AttachmentKind
impl PartialEq<AttachmentKind> for AttachmentKind
sourcefn eq(&self, other: &AttachmentKind) -> bool
fn eq(&self, other: &AttachmentKind) -> bool
impl Copy for AttachmentKind
impl Eq for AttachmentKind
impl StructuralEq for AttachmentKind
impl StructuralPartialEq for AttachmentKind
Auto Trait Implementations
impl RefUnwindSafe for AttachmentKind
impl Send for AttachmentKind
impl Sync for AttachmentKind
impl Unpin for AttachmentKind
impl UnwindSafe for AttachmentKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.