Struct twilight_model::guild::member::Member [−][src]
pub struct Member { pub deaf: bool, pub guild_id: GuildId, pub hoisted_role: Option<RoleId>, pub joined_at: Option<String>, pub mute: bool, pub nick: Option<String>, pub pending: bool, pub premium_since: Option<String>, pub roles: Vec<RoleId>, pub user: User, }
Fields
deaf: bool
guild_id: GuildId
hoisted_role: Option<RoleId>
joined_at: Option<String>
mute: bool
nick: Option<String>
pending: bool
Whether the user has yet to pass the guild’s [Membership Screening] requirements.
roles: Vec<RoleId>
user: User
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for Member
impl UnwindSafe for Member
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more