pub struct GuildWidget {
pub channels: Vec<GuildWidgetChannel>,
pub id: Id<GuildMarker>,
pub instant_invite: Option<String>,
pub members: Vec<GuildWidgetMember>,
pub name: String,
pub presence_count: u64,
}
Fields§
§channels: Vec<GuildWidgetChannel>
§id: Id<GuildMarker>
§instant_invite: Option<String>
§members: Vec<GuildWidgetMember>
§name: String
§presence_count: u64
Trait Implementations§
source§impl Clone for GuildWidget
impl Clone for GuildWidget
source§fn clone(&self) -> GuildWidget
fn clone(&self) -> GuildWidget
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 GuildWidget
impl Debug for GuildWidget
source§impl<'de> Deserialize<'de> for GuildWidget
impl<'de> Deserialize<'de> for GuildWidget
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 GuildWidget
impl Hash for GuildWidget
source§impl PartialEq for GuildWidget
impl PartialEq for GuildWidget
source§impl Serialize for GuildWidget
impl Serialize for GuildWidget
impl Eq for GuildWidget
impl StructuralPartialEq for GuildWidget
Auto Trait Implementations§
impl Freeze for GuildWidget
impl RefUnwindSafe for GuildWidget
impl Send for GuildWidget
impl Sync for GuildWidget
impl Unpin for GuildWidget
impl UnwindSafe for GuildWidget
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
)