pub struct InteractionFailure {
pub channel: Option<Channel>,
pub interaction: InteractionId,
pub reason: FailReason,
}Expand description
An interaction that got no answer (the bot timed out, failed or is not running).
Fields§
§channel: Option<Channel>Where the interaction happened.
interaction: InteractionIdThe interaction.
reason: FailReasonWhy.
Trait Implementations§
Source§impl Clone for InteractionFailure
impl Clone for InteractionFailure
Source§fn clone(&self) -> InteractionFailure
fn clone(&self) -> InteractionFailure
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for InteractionFailure
impl RefUnwindSafe for InteractionFailure
impl Send for InteractionFailure
impl Sync for InteractionFailure
impl Unpin for InteractionFailure
impl UnsafeUnpin for InteractionFailure
impl UnwindSafe for InteractionFailure
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