Struct serenity::model::Presence [] [src]

pub struct Presence {
    pub game: Option<Game>,
    pub last_modified: Option<u64>,
    pub nick: Option<String>,
    pub status: OnlineStatus,
    pub user_id: UserId,
    pub user: Option<User>,
}

A set of settings each member of a guild has.

Fields

A game's name that is displayed near user's name.

Date of last presence change.

Optional nickname. Can't be longer than 32 characters.

Member's online status.

Member's Id. Can be used to calculate account creation date.

Attached User struct.

Trait Implementations

impl Clone for Presence
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Presence
[src]

Formats the value using the given formatter.