pub struct Member {
pub avatar: Option<ImageHash>,
pub communication_disabled_until: Option<Timestamp>,
pub deaf: bool,
pub guild_id: Id<GuildMarker>,
pub joined_at: Timestamp,
pub mute: bool,
pub nick: Option<String>,
pub pending: bool,
pub premium_since: Option<Timestamp>,
pub roles: Vec<Id<RoleMarker>>,
pub user: User,
}Fields
avatar: Option<ImageHash>Member’s guild avatar.
communication_disabled_until: Option<Timestamp>deaf: boolguild_id: Id<GuildMarker>joined_at: Timestampmute: boolnick: Option<String>pending: boolWhether the user has yet to pass the guild’s [Membership Screening] requirements.
roles: Vec<Id<RoleMarker>>user: UserTrait Implementations
sourceimpl<'de> Deserialize<'de> for Member
impl<'de> Deserialize<'de> for Member
sourcefn 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
sourceimpl PartialEq<Member> for Member
impl PartialEq<Member> for Member
impl Eq for Member
impl StructuralEq for Member
impl StructuralPartialEq for Member
Auto Trait Implementations
impl RefUnwindSafe for Member
impl Send for Member
impl Sync for Member
impl Unpin for Member
impl UnwindSafe for Member
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more