pub struct Respond {
pub interaction_id: InteractionId,
pub kind: ResponseType,
pub data: ResponseData,
}Expand description
interaction.respond.
Fields§
§interaction_id: InteractionIdThe bot’s own interaction.
kind: ResponseTypeWhat to do.
data: ResponseDataBy type.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Respond
impl<'de> Deserialize<'de> for Respond
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 Respond
Auto Trait Implementations§
impl Freeze for Respond
impl RefUnwindSafe for Respond
impl Send for Respond
impl Sync for Respond
impl Unpin for Respond
impl UnsafeUnpin for Respond
impl UnwindSafe for Respond
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