pub struct ModalInteractionActionRow {
pub components: Vec<ModalInteractionComponent>,
pub id: i32,
}Expand description
User filled in ActionRow.
Fields§
§components: Vec<ModalInteractionComponent>List of components.
id: i32Unique identifier for the component.
Trait Implementations§
Source§impl Clone for ModalInteractionActionRow
impl Clone for ModalInteractionActionRow
Source§fn clone(&self) -> ModalInteractionActionRow
fn clone(&self) -> ModalInteractionActionRow
Returns a duplicate 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 ModalInteractionActionRow
impl Debug for ModalInteractionActionRow
Source§impl From<ModalInteractionActionRow> for ModalInteractionComponent
impl From<ModalInteractionActionRow> for ModalInteractionComponent
Source§fn from(action_row: ModalInteractionActionRow) -> Self
fn from(action_row: ModalInteractionActionRow) -> Self
Converts to this type from the input type.
Source§impl TryFrom<ModalInteractionComponent> for ModalInteractionActionRow
impl TryFrom<ModalInteractionComponent> for ModalInteractionActionRow
Source§type Error = ModalInteractionComponent
type Error = ModalInteractionComponent
The type returned in the event of a conversion error.
impl Eq for ModalInteractionActionRow
impl StructuralPartialEq for ModalInteractionActionRow
Auto Trait Implementations§
impl Freeze for ModalInteractionActionRow
impl RefUnwindSafe for ModalInteractionActionRow
impl Send for ModalInteractionActionRow
impl Sync for ModalInteractionActionRow
impl Unpin for ModalInteractionActionRow
impl UnsafeUnpin for ModalInteractionActionRow
impl UnwindSafe for ModalInteractionActionRow
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