pub enum CreateActionRow {
Buttons(Vec<CreateButton>),
SelectMenu(CreateSelectMenu),
InputText(CreateInputText),
}
Expand description
A builder for creating a components action row in a message.
Variants§
Buttons(Vec<CreateButton>)
SelectMenu(CreateSelectMenu)
InputText(CreateInputText)
Only valid in modals!
Trait Implementations§
Source§impl Clone for CreateActionRow
impl Clone for CreateActionRow
Source§fn clone(&self) -> CreateActionRow
fn clone(&self) -> CreateActionRow
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CreateActionRow
impl Debug for CreateActionRow
Source§impl PartialEq for CreateActionRow
impl PartialEq for CreateActionRow
Source§impl Serialize for CreateActionRow
impl Serialize for CreateActionRow
impl StructuralPartialEq for CreateActionRow
Auto Trait Implementations§
impl Freeze for CreateActionRow
impl RefUnwindSafe for CreateActionRow
impl Send for CreateActionRow
impl Sync for CreateActionRow
impl Unpin for CreateActionRow
impl UnwindSafe for CreateActionRow
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more