pub struct SlackAppContextChangedEvent {
pub context: SlackAppContext,
}Expand description
https://docs.slack.dev/reference/events/app_context_changed
The payload is {"context": {"entities": [...]}} or {"context": {}};
there is no channel, user or event_ts.
Fields§
§context: SlackAppContextImplementations§
Source§impl SlackAppContextChangedEvent
impl SlackAppContextChangedEvent
pub fn new(context: SlackAppContext) -> Self
pub fn context(&mut self, value: SlackAppContext) -> &mut Self
pub fn with_context(self, value: SlackAppContext) -> Self
Trait Implementations§
Source§impl Clone for SlackAppContextChangedEvent
impl Clone for SlackAppContextChangedEvent
Source§fn clone(&self) -> SlackAppContextChangedEvent
fn clone(&self) -> SlackAppContextChangedEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SlackAppContextChangedEvent
impl Debug for SlackAppContextChangedEvent
Source§impl<'de> Deserialize<'de> for SlackAppContextChangedEvent
impl<'de> Deserialize<'de> for SlackAppContextChangedEvent
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<SlackAppContextChangedEventInit> for SlackAppContextChangedEvent
impl From<SlackAppContextChangedEventInit> for SlackAppContextChangedEvent
Source§fn from(value: SlackAppContextChangedEventInit) -> Self
fn from(value: SlackAppContextChangedEventInit) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for SlackAppContextChangedEvent
Auto Trait Implementations§
impl Freeze for SlackAppContextChangedEvent
impl RefUnwindSafe for SlackAppContextChangedEvent
impl Send for SlackAppContextChangedEvent
impl Sync for SlackAppContextChangedEvent
impl Unpin for SlackAppContextChangedEvent
impl UnsafeUnpin for SlackAppContextChangedEvent
impl UnwindSafe for SlackAppContextChangedEvent
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