pub struct SlackSocketModeInteractiveEvent {
pub envelope_params: SlackSocketModeEventEnvelopeParams,
pub payload: SlackInteractionEvent,
}Fields§
§envelope_params: SlackSocketModeEventEnvelopeParams§payload: SlackInteractionEventImplementations§
Source§impl SlackSocketModeInteractiveEvent
impl SlackSocketModeInteractiveEvent
pub fn new( envelope_params: SlackSocketModeEventEnvelopeParams, payload: SlackInteractionEvent, ) -> Self
pub fn envelope_params( &mut self, value: SlackSocketModeEventEnvelopeParams, ) -> &mut Self
pub fn with_envelope_params( self, value: SlackSocketModeEventEnvelopeParams, ) -> Self
pub fn payload(&mut self, value: SlackInteractionEvent) -> &mut Self
pub fn with_payload(self, value: SlackInteractionEvent) -> Self
Trait Implementations§
Source§impl Clone for SlackSocketModeInteractiveEvent
impl Clone for SlackSocketModeInteractiveEvent
Source§fn clone(&self) -> SlackSocketModeInteractiveEvent
fn clone(&self) -> SlackSocketModeInteractiveEvent
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<'de> Deserialize<'de> for SlackSocketModeInteractiveEvent
impl<'de> Deserialize<'de> for SlackSocketModeInteractiveEvent
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
Source§impl From<SlackSocketModeInteractiveEventInit> for SlackSocketModeInteractiveEvent
impl From<SlackSocketModeInteractiveEventInit> for SlackSocketModeInteractiveEvent
Source§fn from(value: SlackSocketModeInteractiveEventInit) -> Self
fn from(value: SlackSocketModeInteractiveEventInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SlackSocketModeInteractiveEvent
impl PartialEq for SlackSocketModeInteractiveEvent
Source§fn eq(&self, other: &SlackSocketModeInteractiveEvent) -> bool
fn eq(&self, other: &SlackSocketModeInteractiveEvent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SlackSocketModeInteractiveEvent
Auto Trait Implementations§
impl Freeze for SlackSocketModeInteractiveEvent
impl RefUnwindSafe for SlackSocketModeInteractiveEvent
impl Send for SlackSocketModeInteractiveEvent
impl Sync for SlackSocketModeInteractiveEvent
impl Unpin for SlackSocketModeInteractiveEvent
impl UnwindSafe for SlackSocketModeInteractiveEvent
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