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: u64approximate_presence_count: u64description: Option<String>discovery_splash: Option<String>emojis: Vec<Emoji>features: Vec<String>id: GuildIdname: Stringicon: 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
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