Struct twilight_model::guild::PartialMember
source · [−]pub struct PartialMember {
pub avatar: Option<ImageHash>,
pub communication_disabled_until: Option<Timestamp>,
pub deaf: bool,
pub joined_at: Timestamp,
pub mute: bool,
pub nick: Option<String>,
pub permissions: Option<Permissions>,
pub premium_since: Option<Timestamp>,
pub roles: Vec<Id<RoleMarker>>,
pub user: Option<User>,
}Fields
avatar: Option<ImageHash>Member’s guild avatar.
communication_disabled_until: Option<Timestamp>deaf: booljoined_at: Timestampmute: boolnick: Option<String>permissions: Option<Permissions>Permission data for the member.
Sent in an Interaction.
roles: Vec<Id<RoleMarker>>user: Option<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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for PartialMember
impl Send for PartialMember
impl Sync for PartialMember
impl Unpin for PartialMember
impl UnwindSafe for PartialMember
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more