Enum rtdlib::types::UserStatus [−][src]
pub enum UserStatus {
Empty(UserStatusEmpty),
LastMonth(UserStatusLastMonth),
LastWeek(UserStatusLastWeek),
Offline(UserStatusOffline),
Online(UserStatusOnline),
Recently(UserStatusRecently),
// some variants omitted
}
Expand description
Describes the last time the user was online
Variants
The user status was never changed
Tuple Fields of Empty
The user is offline, but was online last month
Tuple Fields of LastMonth
The user is offline, but was online last week
Tuple Fields of LastWeek
The user is offline
Tuple Fields of Offline
The user is online
Tuple Fields of Online
The user was online recently
Tuple Fields of Recently
Implementations
Trait Implementations
Performs the conversion.
Deserialize this value from the given Serde deserializer. Read more
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
Mutably borrows from an owned value. Read more