Struct serenity::builder::CreateSelectMenu [−][src]
Expand description
A builder for creating a SelectMenu
.
Tuple Fields
0: HashMap<&'static str, Value>
Implementations
The placeholder of the select menu.
Sets the custom id of the select menu, a developer-defined identifier.
Sets the minimum values for the user to select.
Sets the maximum values for the user to select.
pub fn options<F>(&mut self, f: F) -> &mut Self where
F: FnOnce(&mut CreateSelectMenuOptions) -> &mut CreateSelectMenuOptions,
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for CreateSelectMenu
impl Send for CreateSelectMenu
impl Sync for CreateSelectMenu
impl Unpin for CreateSelectMenu
impl UnwindSafe for CreateSelectMenu
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