pub struct InteractionPayload {
pub action_id: String,
pub execution_id: String,
pub user_id: String,
pub user_name: String,
}Expand description
Interaction payload from a button click (approve/deny).
Fields§
§action_id: String§execution_id: String§user_id: String§user_name: StringTrait Implementations§
Source§impl Clone for InteractionPayload
impl Clone for InteractionPayload
Source§fn clone(&self) -> InteractionPayload
fn clone(&self) -> InteractionPayload
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 InteractionPayload
impl Debug for InteractionPayload
Source§impl<'de> Deserialize<'de> for InteractionPayload
impl<'de> Deserialize<'de> for InteractionPayload
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
Auto Trait Implementations§
impl Freeze for InteractionPayload
impl RefUnwindSafe for InteractionPayload
impl Send for InteractionPayload
impl Sync for InteractionPayload
impl Unpin for InteractionPayload
impl UnsafeUnpin for InteractionPayload
impl UnwindSafe for InteractionPayload
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