pub enum ChatTypeKind {
Chat,
Dialog,
Unknown(String),
}Expand description
Тип чата.
Variants§
Chat
Групповой чат.
Dialog
Диалог (личная переписка).
Unknown(String)
Неизвестный тип (для обратной совместимости).
Implementations§
Trait Implementations§
Source§impl Clone for ChatTypeKind
impl Clone for ChatTypeKind
Source§fn clone(&self) -> ChatTypeKind
fn clone(&self) -> ChatTypeKind
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 ChatTypeKind
impl Debug for ChatTypeKind
Source§impl PartialEq for ChatTypeKind
impl PartialEq for ChatTypeKind
Source§fn eq(&self, other: &ChatTypeKind) -> bool
fn eq(&self, other: &ChatTypeKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ChatTypeKind
impl StructuralPartialEq for ChatTypeKind
Auto Trait Implementations§
impl Freeze for ChatTypeKind
impl RefUnwindSafe for ChatTypeKind
impl Send for ChatTypeKind
impl Sync for ChatTypeKind
impl Unpin for ChatTypeKind
impl UnsafeUnpin for ChatTypeKind
impl UnwindSafe for ChatTypeKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.