Struct discord::model::Presence
[−]
[src]
pub struct Presence { pub user_id: UserId, pub status: OnlineStatus, pub last_modified: Option<u64>, pub game: Option<Game>, pub user: Option<User>, pub nick: Option<String>, }
A members's online status
Fields
user_id: UserId
status: OnlineStatus
last_modified: Option<u64>
game: Option<Game>
user: Option<User>
nick: Option<String>
Methods
impl Presence
[src]
Trait Implementations
impl Debug for Presence
[src]
impl Clone for Presence
[src]
fn clone(&self) -> Presence
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more