#[non_exhaustive]pub struct SubmittedActionRow {
pub id: Option<u32>,
pub components: Vec<SubmittedComponent>,
}Expand description
A submitted action row.
discord.js counterpart: ModalSubmitActionRowComponent (discord-api-types).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: Option<u32>The component’s numeric ID.
components: Vec<SubmittedComponent>The submitted components in the row.
Trait Implementations§
Source§impl Clone for SubmittedActionRow
impl Clone for SubmittedActionRow
Source§impl Debug for SubmittedActionRow
impl Debug for SubmittedActionRow
impl Eq for SubmittedActionRow
Source§impl PartialEq for SubmittedActionRow
impl PartialEq for SubmittedActionRow
Source§impl Serialize for SubmittedActionRow
impl Serialize for SubmittedActionRow
impl StructuralPartialEq for SubmittedActionRow
Auto Trait Implementations§
impl Forget for SubmittedActionRow
impl Freeze for SubmittedActionRow
impl Move for SubmittedActionRow
impl RefUnwindSafe for SubmittedActionRow
impl Send for SubmittedActionRow
impl Sync for SubmittedActionRow
impl Unpin for SubmittedActionRow
impl UnsafeUnpin for SubmittedActionRow
impl UnwindSafe for SubmittedActionRow
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