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