[−][src]Struct automate::gateway::models::Guild
Fields
id: Snowflake
name: String
icon: Option<String>
splash: Option<String>
discovery_splash: Option<String>
owner: Option<bool>
owner_id: Snowflake
permissions: Option<u32>
region: String
afk_channel_id: Option<Snowflake>
afk_timeout: i32
embed_enabled: Option<bool>
embed_channel_id: Option<Option<Snowflake>>
verification_level: VerificationLevel
default_message_notifications: MessageNotificationLevel
explicit_content_filter: ExplicitContentFilterLevel
roles: HashMap<Snowflake, Role>
emojis: HashMap<Snowflake, GuildEmoji>
features: Vec<GuildFeature>
mfa_level: MFALevel
application_id: Option<Snowflake>
widget_enabled: Option<bool>
widget_channel_id: Option<Option<Snowflake>>
system_channel_id: Option<Option<Snowflake>>
joined_at: Option<String>
large: Option<bool>
member_count: Option<i32>
voice_states: Option<Vec<PartialVoiceState>>
members: HashMap<Snowflake, GuildMember>
channels: HashMap<Snowflake, GuildChannel>
presences: Option<Vec<PartialPresenceUpdate>>
max_presences: Option<Option<i32>>
max_members: Option<i32>
vanity_url_code: Option<String>
description: Option<String>
preferred_locale: String
rules_channel_id: Option<Snowflake>
public_updates_channel_id: Option<Snowflake>
max_video_channel_users: Option<i32>
Trait Implementations
impl Clone for Guild
[src]
impl Debug for Guild
[src]
impl<'de> Deserialize<'de> for Guild
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl ExtractSnowflake for Guild
[src]
fn extract_snowflake(&self) -> Result<Snowflake, Error>
[src]
impl<'_> ExtractSnowflake for &'_ Guild
[src]
fn extract_snowflake(&self) -> Result<Snowflake, Error>
[src]
impl Stored for Guild
[src]
type Storage = GuildStorage
Auto Trait Implementations
impl RefUnwindSafe for Guild
impl Send for Guild
impl Sync for Guild
impl Unpin for Guild
impl UnwindSafe for Guild
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,