pub struct ModalInteractionTextInput {
pub custom_id: String,
pub id: i32,
pub value: String,
}Expand description
User filled in TextInput.
Fields§
§custom_id: StringUser defined identifier for the component.
id: i32Unique identifier for the component.
value: StringValue submitted by the user.
Trait Implementations§
Source§impl Clone for ModalInteractionTextInput
impl Clone for ModalInteractionTextInput
Source§impl Debug for ModalInteractionTextInput
impl Debug for ModalInteractionTextInput
impl Eq for ModalInteractionTextInput
Source§impl From<ModalInteractionTextInput> for ModalInteractionComponent
impl From<ModalInteractionTextInput> for ModalInteractionComponent
Source§fn from(text_input: ModalInteractionTextInput) -> Self
fn from(text_input: ModalInteractionTextInput) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for ModalInteractionTextInput
Source§impl TryFrom<ModalInteractionComponent> for ModalInteractionTextInput
impl TryFrom<ModalInteractionComponent> for ModalInteractionTextInput
Source§type Error = ModalInteractionComponent
type Error = ModalInteractionComponent
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Forget for ModalInteractionTextInput
impl Freeze for ModalInteractionTextInput
impl Move for ModalInteractionTextInput
impl RefUnwindSafe for ModalInteractionTextInput
impl Send for ModalInteractionTextInputwhere
RawVecInner: Send,
impl Sync for ModalInteractionTextInputwhere
RawVecInner: Sync,
impl Unpin for ModalInteractionTextInput
impl UnsafeUnpin for ModalInteractionTextInput
impl UnwindSafe for ModalInteractionTextInputwhere
RawVecInner: UnwindSafe,
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