Struct serenity::builder::EditGuildWelcomeScreen
source · [−]Expand description
A builder to specify the fields to edit in a GuildWelcomeScreen
.
Tuple Fields
0: HashMap<&'static str, Value>
Implementations
Whether the welcome screen is enabled or not.
The server description shown in the welcome screen.
pub fn create_welcome_channel<F>(&mut self, f: F) -> &mut Self where
F: FnOnce(&mut CreateGuildWelcomeChannel) -> &mut CreateGuildWelcomeChannel,
pub fn set_welcome_channels(
&mut self,
channels: Vec<CreateGuildWelcomeChannel>
) -> &mut Self
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for EditGuildWelcomeScreen
impl Send for EditGuildWelcomeScreen
impl Sync for EditGuildWelcomeScreen
impl Unpin for EditGuildWelcomeScreen
impl UnwindSafe for EditGuildWelcomeScreen
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
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