pub struct GuildWidgetMember {
pub avatar: Option<ImageHash>,
pub avatar_url: Option<String>,
pub discriminator: u16,
pub id: AnonymizableId<UserMarker>,
pub name: String,
pub status: Status,
}
Fields§
§avatar: Option<ImageHash>
§avatar_url: Option<String>
§discriminator: u16
§id: AnonymizableId<UserMarker>
Member’s ID.
name: String
§status: Status
Implementations§
source§impl GuildWidgetMember
impl GuildWidgetMember
sourcepub const fn discriminator(&self) -> DiscriminatorDisplay
pub const fn discriminator(&self) -> DiscriminatorDisplay
Create a Display
formatter for a user discriminator.
Trait Implementations§
source§impl Clone for GuildWidgetMember
impl Clone for GuildWidgetMember
source§fn clone(&self) -> GuildWidgetMember
fn clone(&self) -> GuildWidgetMember
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GuildWidgetMember
impl Debug for GuildWidgetMember
source§impl<'de> Deserialize<'de> for GuildWidgetMember
impl<'de> Deserialize<'de> for GuildWidgetMember
source§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
source§impl Hash for GuildWidgetMember
impl Hash for GuildWidgetMember
source§impl PartialEq for GuildWidgetMember
impl PartialEq for GuildWidgetMember
source§impl Serialize for GuildWidgetMember
impl Serialize for GuildWidgetMember
impl Eq for GuildWidgetMember
impl StructuralPartialEq for GuildWidgetMember
Auto Trait Implementations§
impl Freeze for GuildWidgetMember
impl RefUnwindSafe for GuildWidgetMember
impl Send for GuildWidgetMember
impl Sync for GuildWidgetMember
impl Unpin for GuildWidgetMember
impl UnwindSafe for GuildWidgetMember
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)