pub struct UserPresence {
pub kind: String,
pub location_kind: String,
pub status: String,
pub last_online: DateTime,
pub place_id: Option<u64>,
pub root_place_id: Option<u64>,
pub universe_id: Option<u64>,
pub job_id: Option<String>,
}Fields§
§kind: String§location_kind: String§status: String§last_online: DateTime§place_id: Option<u64>§root_place_id: Option<u64>§universe_id: Option<u64>§job_id: Option<String>Trait Implementations§
Source§impl Clone for UserPresence
impl Clone for UserPresence
Source§fn clone(&self) -> UserPresence
fn clone(&self) -> UserPresence
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 UserPresence
impl Debug for UserPresence
Source§impl<'de> Deserialize<'de> for UserPresence
impl<'de> Deserialize<'de> for UserPresence
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for UserPresence
Source§impl PartialEq for UserPresence
impl PartialEq for UserPresence
Source§impl Serialize for UserPresence
impl Serialize for UserPresence
impl StructuralPartialEq for UserPresence
Auto Trait Implementations§
impl Freeze for UserPresence
impl RefUnwindSafe for UserPresence
impl Send for UserPresence
impl Sync for UserPresence
impl Unpin for UserPresence
impl UnsafeUnpin for UserPresence
impl UnwindSafe for UserPresence
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