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