pub struct ModalInteractionTextDisplay {
pub id: i32,
}Expand description
TextDisplay component contained in a ModalSubmit interaction.
See Discord Docs/Text Display Interaction Response Structure.
Fields§
§id: i32Unique identifier for the component.
Trait Implementations§
Source§impl Clone for ModalInteractionTextDisplay
impl Clone for ModalInteractionTextDisplay
Source§fn clone(&self) -> ModalInteractionTextDisplay
fn clone(&self) -> ModalInteractionTextDisplay
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 ModalInteractionTextDisplay
impl Debug for ModalInteractionTextDisplay
Source§impl From<ModalInteractionTextDisplay> for ModalInteractionComponent
impl From<ModalInteractionTextDisplay> for ModalInteractionComponent
Source§fn from(text_display: ModalInteractionTextDisplay) -> Self
fn from(text_display: ModalInteractionTextDisplay) -> Self
Converts to this type from the input type.
impl Eq for ModalInteractionTextDisplay
impl StructuralPartialEq for ModalInteractionTextDisplay
Auto Trait Implementations§
impl Freeze for ModalInteractionTextDisplay
impl RefUnwindSafe for ModalInteractionTextDisplay
impl Send for ModalInteractionTextDisplay
impl Sync for ModalInteractionTextDisplay
impl Unpin for ModalInteractionTextDisplay
impl UnwindSafe for ModalInteractionTextDisplay
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