Struct twilight_util::builder::command::SubCommandBuilder [−][src]
pub struct SubCommandBuilder(_);This is supported on crate feature
builder only.Expand description
Create a subcommand option with a builder.
Implementations
Create a new default SubCommandBuilder.
Consume the builder, returning the built command option.
Add an option to the sub command.
Defaults to an empty list.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for SubCommandBuilder
impl Send for SubCommandBuilder
impl Sync for SubCommandBuilder
impl Unpin for SubCommandBuilder
impl UnwindSafe for SubCommandBuilder
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