pub struct PresenceSnapshot {
pub entity: String,
pub state: String,
pub expires_at: DateTime<Utc>,
pub user_id: Option<String>,
pub handle: Option<String>,
pub display_name: Option<String>,
pub avatar_url: Option<String>,
}Fields§
§entity: String§state: String§expires_at: DateTime<Utc>§user_id: Option<String>§handle: Option<String>§display_name: Option<String>§avatar_url: Option<String>Trait Implementations§
Source§impl Clone for PresenceSnapshot
impl Clone for PresenceSnapshot
Source§fn clone(&self) -> PresenceSnapshot
fn clone(&self) -> PresenceSnapshot
Returns a duplicate of the value. Read more
1.0.0 · 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 PresenceSnapshot
impl Debug for PresenceSnapshot
Source§impl PartialEq for PresenceSnapshot
impl PartialEq for PresenceSnapshot
impl Eq for PresenceSnapshot
impl StructuralPartialEq for PresenceSnapshot
Auto Trait Implementations§
impl Freeze for PresenceSnapshot
impl RefUnwindSafe for PresenceSnapshot
impl Send for PresenceSnapshot
impl Sync for PresenceSnapshot
impl Unpin for PresenceSnapshot
impl UnwindSafe for PresenceSnapshot
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