pub struct Status {
pub online_status: i32,
pub ext_online_status: i64,
pub custom_status: Option<CustomOnlineStatus>,
}Fields
online_status: i32ext_online_status: i64custom_status: Option<CustomOnlineStatus>Trait Implementations
sourceimpl From<CustomOnlineStatus> for Status
impl From<CustomOnlineStatus> for Status
sourcefn from(s: CustomOnlineStatus) -> Self
fn from(s: CustomOnlineStatus) -> Self
Converts to this type from the input type.
sourceimpl From<ExtOnlineStatus> for Status
impl From<ExtOnlineStatus> for Status
sourcefn from(s: ExtOnlineStatus) -> Self
fn from(s: ExtOnlineStatus) -> Self
Converts to this type from the input type.
sourceimpl From<OnlineStatus> for Status
impl From<OnlineStatus> for Status
sourcefn from(s: OnlineStatus) -> Self
fn from(s: OnlineStatus) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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