Struct twilight_util::builder::command::IntegerBuilder [−][src]
pub struct IntegerBuilder(_);This is supported on crate feature
builder only.Expand description
Create a integer option with a builder.
Implementations
Create a new default IntegerBuilder.
Consume the builder, returning the built command option.
Set the list of choices for an option.
Accepts tuples of (String, i64) corresponding to the name and value.
Defaults to no choices.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for IntegerBuilder
impl Send for IntegerBuilder
impl Sync for IntegerBuilder
impl Unpin for IntegerBuilder
impl UnwindSafe for IntegerBuilder
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