Struct twilight_model::guild::GuildPreview [−][src]
pub struct GuildPreview { pub approximate_member_count: u64, pub approximate_presence_count: u64, pub description: Option<String>, pub discovery_splash: Option<String>, pub emojis: Vec<Emoji>, pub features: Vec<String>, pub id: GuildId, pub name: String, pub icon: Option<String>, pub splash: Option<String>, }
Fields
approximate_member_count: u64
approximate_presence_count: u64
description: Option<String>
discovery_splash: Option<String>
emojis: Vec<Emoji>
features: Vec<String>
id: GuildId
name: String
icon: Option<String>
splash: Option<String>
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 GuildPreview
impl Send for GuildPreview
impl Sync for GuildPreview
impl Unpin for GuildPreview
impl UnwindSafe for GuildPreview
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more