pub struct InteractionCallbackResource {
pub activity_instance: Option<ActivityInstanceResource>,
pub kind: InteractionResponseType,
pub message: Option<Message>,
}Expand description
Resource that was created by the interaction response.
Fields§
§activity_instance: Option<ActivityInstanceResource>Represents the Activity launched by this interaction.
kind: InteractionResponseTypeInteraction callback type
message: Option<Message>Message created by the interaction.
Trait Implementations§
Source§impl Clone for InteractionCallbackResource
impl Clone for InteractionCallbackResource
Source§fn clone(&self) -> InteractionCallbackResource
fn clone(&self) -> InteractionCallbackResource
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 InteractionCallbackResource
impl Debug for InteractionCallbackResource
Source§impl<'de> Deserialize<'de> for InteractionCallbackResource
impl<'de> Deserialize<'de> for InteractionCallbackResource
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 InteractionCallbackResource
Auto Trait Implementations§
impl Freeze for InteractionCallbackResource
impl RefUnwindSafe for InteractionCallbackResource
impl Send for InteractionCallbackResource
impl Sync for InteractionCallbackResource
impl Unpin for InteractionCallbackResource
impl UnwindSafe for InteractionCallbackResource
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