Struct twilight_cache_inmemory::model::CachedGuild [−][src]
pub struct CachedGuild { /* fields omitted */ }Expand description
Represents a cached Guild.
Implementations
ID of the AFK channel.
AFK timeout in seconds.
For bot created guilds, the ID of the creating application.
Banner hash.
Default message notification level.
For Community guilds, the description.
For discoverable guilds, the discovery splash hash.
Explicit content filter level.
Enabled guild features.
Icon hash.
Maximum members.
Maximum presences.
Total number of members in the guild.
NSFW level.
Total permissions for the current user in the guild, excluding overwrites.
Preferred locale for Community guilds.
Used in server discovery and notices from Discord. Defaults to “en-US”.
Number of boosts this guild currently has.
Server boost level.
For Community guilds, the ID of the rules channel.
Splash hash.
ID of the channel where notices are posted.
Example notices include welcome messages and boost events.
System channel flags.
Whether the guild is unavailable due to an outage.
Vanity URL code.
Required verification level.
ID of the channel that a widget generates an invite to.
Whether the widget is enabled.
Trait Implementations
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 CachedGuild
impl Send for CachedGuild
impl Sync for CachedGuild
impl Unpin for CachedGuild
impl UnwindSafe for CachedGuild
Blanket Implementations
Mutably borrows from an owned value. Read more
