pub struct ModalBuilder(/* private fields */);Available on crate feature
builder only.Expand description
Builder for a [InteractionResponse] of type [InteractionResponseType::Modal].
Implementations§
Trait Implementations§
Source§impl Clone for ModalBuilder
impl Clone for ModalBuilder
Source§fn clone(&self) -> ModalBuilder
fn clone(&self) -> ModalBuilder
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 ModalBuilder
impl Debug for ModalBuilder
Source§impl From<ModalBuilder> for InteractionResponse
impl From<ModalBuilder> for InteractionResponse
Source§fn from(builder: ModalBuilder) -> Self
fn from(builder: ModalBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ModalBuilder
impl RefUnwindSafe for ModalBuilder
impl Send for ModalBuilder
impl Sync for ModalBuilder
impl Unpin for ModalBuilder
impl UnsafeUnpin for ModalBuilder
impl UnwindSafe for ModalBuilder
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