Struct serenity::builder::CreateSelectMenuOptions [−][src]
Expand description
A builder for creating several SelectMenuOption
.
Tuple Fields
0: Vec<Value>
Implementations
pub fn create_option<F>(&mut self, f: F) -> &mut Self where
F: FnOnce(&mut CreateSelectMenuOption) -> &mut CreateSelectMenuOption,
pub fn create_option<F>(&mut self, f: F) -> &mut Self where
F: FnOnce(&mut CreateSelectMenuOption) -> &mut CreateSelectMenuOption,
Creates an option.
Adds an option.
Sets all the options.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for CreateSelectMenuOptions
impl Send for CreateSelectMenuOptions
impl Sync for CreateSelectMenuOptions
impl Unpin for CreateSelectMenuOptions
impl UnwindSafe for CreateSelectMenuOptions
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. 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