Struct db_adapter::guild::GuildConfigBuilder [−][src]
pub struct GuildConfigBuilder<'a> { /* fields omitted */ }
Expand description
Builder for new configuration entries
This should only be used when the bot joins a new Guild.
This builder is used to quickly whip up a new configuration with sensible defaults
that can be easilly overriden. For how to use see GuildConfig::new()
and the tests.
Implementations
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for GuildConfigBuilder<'a>
impl<'a> Send for GuildConfigBuilder<'a>
impl<'a> Sync for GuildConfigBuilder<'a>
impl<'a> Unpin for GuildConfigBuilder<'a>
impl<'a> UnwindSafe for GuildConfigBuilder<'a>
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