Struct twilight_model::guild::Guild [−][src]
pub struct Guild {Show 46 fields
pub afk_channel_id: Option<ChannelId>,
pub afk_timeout: u64,
pub application_id: Option<ApplicationId>,
pub approximate_member_count: Option<u64>,
pub approximate_presence_count: Option<u64>,
pub banner: Option<String>,
pub channels: Vec<GuildChannel>,
pub default_message_notifications: DefaultMessageNotificationLevel,
pub description: Option<String>,
pub discovery_splash: Option<String>,
pub emojis: Vec<Emoji>,
pub explicit_content_filter: ExplicitContentFilter,
pub features: Vec<String>,
pub icon: Option<String>,
pub id: GuildId,
pub joined_at: Option<Timestamp>,
pub large: bool,
pub max_members: Option<u64>,
pub max_presences: Option<u64>,
pub max_video_channel_users: Option<u64>,
pub member_count: Option<u64>,
pub members: Vec<Member>,
pub mfa_level: MfaLevel,
pub name: String,
pub nsfw_level: NSFWLevel,
pub owner_id: UserId,
pub owner: Option<bool>,
pub permissions: Option<Permissions>,
pub preferred_locale: String,
pub premium_subscription_count: Option<u64>,
pub premium_tier: PremiumTier,
pub presences: Vec<Presence>,
pub roles: Vec<Role>,
pub rules_channel_id: Option<ChannelId>,
pub splash: Option<String>,
pub stage_instances: Vec<StageInstance>,
pub stickers: Vec<Sticker>,
pub system_channel_flags: SystemChannelFlags,
pub system_channel_id: Option<ChannelId>,
pub threads: Vec<GuildChannel>,
pub unavailable: bool,
pub vanity_url_code: Option<String>,
pub verification_level: VerificationLevel,
pub voice_states: Vec<VoiceState>,
pub widget_channel_id: Option<ChannelId>,
pub widget_enabled: Option<bool>,
}
Fields
afk_channel_id: Option<ChannelId>
afk_timeout: u64
application_id: Option<ApplicationId>
approximate_member_count: Option<u64>
approximate_presence_count: Option<u64>
channels: Vec<GuildChannel>
default_message_notifications: DefaultMessageNotificationLevel
description: Option<String>
discovery_splash: Option<String>
emojis: Vec<Emoji>
explicit_content_filter: ExplicitContentFilter
features: Vec<String>
icon: Option<String>
id: GuildId
joined_at: Option<Timestamp>
large: bool
max_members: Option<u64>
max_presences: Option<u64>
max_video_channel_users: Option<u64>
member_count: Option<u64>
members: Vec<Member>
mfa_level: MfaLevel
name: String
nsfw_level: NSFWLevel
owner_id: UserId
owner: Option<bool>
permissions: Option<Permissions>
preferred_locale: String
presences: Vec<Presence>
roles: Vec<Role>
rules_channel_id: Option<ChannelId>
splash: Option<String>
stage_instances: Vec<StageInstance>
stickers: Vec<Sticker>
system_channel_flags: SystemChannelFlags
system_channel_id: Option<ChannelId>
threads: Vec<GuildChannel>
vanity_url_code: Option<String>
verification_level: VerificationLevel
voice_states: Vec<VoiceState>
widget_channel_id: Option<ChannelId>
widget_enabled: Option<bool>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Guild
impl UnwindSafe for Guild
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