[−][src]Enum grammers_tl_types::enums::UserStatus
Variants
Empty(UserStatusEmpty)
Online(UserStatusOnline)
Offline(UserStatusOffline)
Recently(UserStatusRecently)
LastWeek(UserStatusLastWeek)
LastMonth(UserStatusLastMonth)
Trait Implementations
impl Clone for UserStatus
[src]
fn clone(&self) -> UserStatus
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for UserStatus
[src]
impl Deserializable for UserStatus
[src]
fn deserialize(buf: &'a mut Cursor<'b>) -> Result<Self, DeserializeError>
[src]
fn from_bytes(buf: &[u8]) -> Result<Self, DeserializeError> where
Self: Sized,
[src]
Self: Sized,
impl From<UserStatusEmpty> for UserStatus
[src]
fn from(x: UserStatusEmpty) -> Self
[src]
impl From<UserStatusLastMonth> for UserStatus
[src]
fn from(x: UserStatusLastMonth) -> Self
[src]
impl From<UserStatusLastWeek> for UserStatus
[src]
fn from(x: UserStatusLastWeek) -> Self
[src]
impl From<UserStatusOffline> for UserStatus
[src]
fn from(x: UserStatusOffline) -> Self
[src]
impl From<UserStatusOnline> for UserStatus
[src]
fn from(x: UserStatusOnline) -> Self
[src]
impl From<UserStatusRecently> for UserStatus
[src]
fn from(x: UserStatusRecently) -> Self
[src]
impl PartialEq<UserStatus> for UserStatus
[src]
fn eq(&self, other: &UserStatus) -> bool
[src]
fn ne(&self, other: &UserStatus) -> bool
[src]
impl Serializable for UserStatus
[src]
impl StructuralPartialEq for UserStatus
[src]
impl TryFrom<UserStatus> for UserStatusEmpty
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: UserStatus) -> Result<Self, Self::Error>
[src]
impl TryFrom<UserStatus> for UserStatusLastMonth
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: UserStatus) -> Result<Self, Self::Error>
[src]
impl TryFrom<UserStatus> for UserStatusLastWeek
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: UserStatus) -> Result<Self, Self::Error>
[src]
impl TryFrom<UserStatus> for UserStatusOffline
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: UserStatus) -> Result<Self, Self::Error>
[src]
impl TryFrom<UserStatus> for UserStatusOnline
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: UserStatus) -> Result<Self, Self::Error>
[src]
impl TryFrom<UserStatus> for UserStatusRecently
[src]
type Error = WrongVariant
The type returned in the event of a conversion error.
fn try_from(x: UserStatus) -> Result<Self, Self::Error>
[src]
Auto Trait Implementations
impl RefUnwindSafe for UserStatus
impl Send for UserStatus
impl Sync for UserStatus
impl Unpin for UserStatus
impl UnwindSafe for UserStatus
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,