Struct serenity::builder::CreateComponents [−][src]
Expand description
A builder for creating several ActionRow
s.
Tuple Fields
0: Vec<Value>
Implementations
pub fn create_action_row<F>(&mut self, f: F) -> &mut Self where
F: FnOnce(&mut CreateActionRow) -> &mut CreateActionRow,
pub fn create_action_row<F>(&mut self, f: F) -> &mut Self where
F: FnOnce(&mut CreateActionRow) -> &mut CreateActionRow,
Creates an action row.
Adds an action row.
Sets all the action rows.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for CreateComponents
impl Send for CreateComponents
impl Sync for CreateComponents
impl Unpin for CreateComponents
impl UnwindSafe for CreateComponents
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