[][src]Struct twilight_cache_inmemory::model::CachedGuild

pub struct CachedGuild {
    pub id: GuildId,
    pub afk_channel_id: Option<ChannelId>,
    pub afk_timeout: u64,
    pub application_id: Option<ApplicationId>,
    pub banner: Option<String>,
    pub default_message_notifications: DefaultMessageNotificationLevel,
    pub description: Option<String>,
    pub discovery_splash: Option<String>,
    pub embed_channel_id: Option<ChannelId>,
    pub embed_enabled: Option<bool>,
    pub explicit_content_filter: ExplicitContentFilter,
    pub features: Vec<String>,
    pub icon: Option<String>,
    pub joined_at: Option<String>,
    pub large: bool,
    pub lazy: Option<bool>,
    pub max_members: Option<u64>,
    pub max_presences: Option<u64>,
    pub member_count: Option<u64>,
    pub mfa_level: MfaLevel,
    pub name: String,
    pub owner: Option<bool>,
    pub owner_id: UserId,
    pub permissions: Option<Permissions>,
    pub preferred_locale: String,
    pub premium_subscription_count: Option<u64>,
    pub premium_tier: PremiumTier,
    pub region: String,
    pub rules_channel_id: Option<ChannelId>,
    pub splash: Option<String>,
    pub system_channel_id: Option<ChannelId>,
    pub system_channel_flags: SystemChannelFlags,
    pub unavailable: bool,
    pub verification_level: VerificationLevel,
    pub vanity_url_code: Option<String>,
    pub widget_channel_id: Option<ChannelId>,
    pub widget_enabled: Option<bool>,
}

Fields

id: GuildIdafk_channel_id: Option<ChannelId>afk_timeout: u64application_id: Option<ApplicationId>banner: Option<String>default_message_notifications: DefaultMessageNotificationLeveldescription: Option<String>discovery_splash: Option<String>embed_channel_id: Option<ChannelId>embed_enabled: Option<bool>explicit_content_filter: ExplicitContentFilterfeatures: Vec<String>icon: Option<String>joined_at: Option<String>large: boollazy: Option<bool>max_members: Option<u64>max_presences: Option<u64>member_count: Option<u64>mfa_level: MfaLevelname: Stringowner: Option<bool>owner_id: UserIdpermissions: Option<Permissions>preferred_locale: Stringpremium_subscription_count: Option<u64>premium_tier: PremiumTierregion: Stringrules_channel_id: Option<ChannelId>splash: Option<String>system_channel_id: Option<ChannelId>system_channel_flags: SystemChannelFlagsunavailable: boolverification_level: VerificationLevelvanity_url_code: Option<String>widget_channel_id: Option<ChannelId>widget_enabled: Option<bool>

Trait Implementations

impl Clone for CachedGuild[src]

impl Debug for CachedGuild[src]

impl Eq for CachedGuild[src]

impl PartialEq<CachedGuild> for CachedGuild[src]

impl Serialize for CachedGuild[src]

impl StructuralEq for CachedGuild[src]

impl StructuralPartialEq for CachedGuild[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.