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§fn clone(&self) -> ModalInteractionTextInput
fn clone(&self) -> ModalInteractionTextInput
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 ModalInteractionTextInput
impl Debug 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 Eq for ModalInteractionTextInput
impl StructuralPartialEq for ModalInteractionTextInput
Auto Trait Implementations§
impl Freeze for ModalInteractionTextInput
impl RefUnwindSafe for ModalInteractionTextInput
impl Send for ModalInteractionTextInput
impl Sync for ModalInteractionTextInput
impl Unpin for ModalInteractionTextInput
impl UnwindSafe for ModalInteractionTextInput
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