pub struct InteractionCallbackResponse {
pub interaction: InteractionCallback,
pub resource: Option<InteractionCallbackResource>,
}Expand description
Included when creating an interaction response with a response
Fields§
§interaction: InteractionCallbackThe interaction object associated with the interaction response.
resource: Option<InteractionCallbackResource>The resource that was created by the interaction response.
Trait Implementations§
Source§impl Clone for InteractionCallbackResponse
impl Clone for InteractionCallbackResponse
Source§fn clone(&self) -> InteractionCallbackResponse
fn clone(&self) -> InteractionCallbackResponse
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 InteractionCallbackResponse
impl Debug for InteractionCallbackResponse
Source§impl<'de> Deserialize<'de> for InteractionCallbackResponse
impl<'de> Deserialize<'de> for InteractionCallbackResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for InteractionCallbackResponse
Auto Trait Implementations§
impl Freeze for InteractionCallbackResponse
impl RefUnwindSafe for InteractionCallbackResponse
impl Send for InteractionCallbackResponse
impl Sync for InteractionCallbackResponse
impl Unpin for InteractionCallbackResponse
impl UnwindSafe for InteractionCallbackResponse
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