Struct serenity::model::guild::GuildWelcomeScreen [−][src]
pub struct GuildWelcomeScreen {
pub description: Option<String>,
pub welcome_channels: Vec<GuildWelcomeChannel>,
}
Expand description
Information relating to a guild’s welcome screen.
Fields
description: Option<String>
The server description shown in the welcome screen.
welcome_channels: Vec<GuildWelcomeChannel>
The channels shown in the welcome screen.
Note: There can only be only up to 5 channels.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for GuildWelcomeScreen
impl Send for GuildWelcomeScreen
impl Sync for GuildWelcomeScreen
impl Unpin for GuildWelcomeScreen
impl UnwindSafe for GuildWelcomeScreen
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. 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