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>,
}A members's online status
Fields
user_id | |
status | |
last_modified | |
game | |
user |
Methods
impl Presence[src]
Trait Implementations
Derived Implementations
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