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.

Default message notification level.

For Community guilds, the description.

For discoverable guilds, the discovery splash hash.

See Discord Docs/Image Formatting.

Explicit content filter level.

Enabled guild features.

ID of the guild.

Timestamp of the user’s join date.

Whether this guild is “large”.

Maximum members.

Maximum presences.

Total number of members in the guild.

Required MFA level.

Name of the guild.

NSFW level.

Whether the current user is the owner of the guild.

ID of the guild’s owner.

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.

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.