[−][src]Struct slack_morphism::prelude::SlackEventCallback
Fields
team_id: SlackTeamId
api_app_id: SlackAppId
event: SlackEventCallbackBody
event_id: SlackEventId
event_time: SlackDateTime
authed_users: Option<Vec<SlackUserId>>
Implementations
impl SlackEventCallback
[src]
pub fn new(
team_id: SlackTeamId,
api_app_id: SlackAppId,
event: SlackEventCallbackBody,
event_id: SlackEventId,
event_time: SlackDateTime
) -> SlackEventCallback
[src]
team_id: SlackTeamId,
api_app_id: SlackAppId,
event: SlackEventCallbackBody,
event_id: SlackEventId,
event_time: SlackDateTime
) -> SlackEventCallback
pub fn team_id(&mut self, value: SlackTeamId) -> &mut SlackEventCallback
[src]
pub fn with_team_id(self, value: SlackTeamId) -> SlackEventCallback
[src]
pub fn api_app_id(&mut self, value: SlackAppId) -> &mut SlackEventCallback
[src]
pub fn with_api_app_id(self, value: SlackAppId) -> SlackEventCallback
[src]
pub fn event(
&mut self,
value: SlackEventCallbackBody
) -> &mut SlackEventCallback
[src]
&mut self,
value: SlackEventCallbackBody
) -> &mut SlackEventCallback
pub fn with_event(self, value: SlackEventCallbackBody) -> SlackEventCallback
[src]
pub fn event_id(&mut self, value: SlackEventId) -> &mut SlackEventCallback
[src]
pub fn with_event_id(self, value: SlackEventId) -> SlackEventCallback
[src]
pub fn event_time(&mut self, value: SlackDateTime) -> &mut SlackEventCallback
[src]
pub fn with_event_time(self, value: SlackDateTime) -> SlackEventCallback
[src]
pub fn authed_users(
&mut self,
value: Vec<SlackUserId>
) -> &mut SlackEventCallback
[src]
&mut self,
value: Vec<SlackUserId>
) -> &mut SlackEventCallback
pub fn reset_authed_users(&mut self) -> &mut SlackEventCallback
[src]
pub fn mopt_authed_users(
&mut self,
value: Option<Vec<SlackUserId>>
) -> &mut SlackEventCallback
[src]
&mut self,
value: Option<Vec<SlackUserId>>
) -> &mut SlackEventCallback
pub fn with_authed_users(self, value: Vec<SlackUserId>) -> SlackEventCallback
[src]
pub fn without_authed_users(self) -> SlackEventCallback
[src]
pub fn opt_authed_users(
self,
value: Option<Vec<SlackUserId>>
) -> SlackEventCallback
[src]
self,
value: Option<Vec<SlackUserId>>
) -> SlackEventCallback
Trait Implementations
impl Clone for SlackEventCallback
[src]
fn clone(&self) -> SlackEventCallback
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SlackEventCallback
[src]
impl<'de> Deserialize<'de> for SlackEventCallback
[src]
fn deserialize<__D>(
__deserializer: __D
) -> Result<SlackEventCallback, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<SlackEventCallback, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl From<SlackEventCallbackInit> for SlackEventCallback
[src]
fn from(value: SlackEventCallbackInit) -> SlackEventCallback
[src]
impl PartialEq<SlackEventCallback> for SlackEventCallback
[src]
fn eq(&self, other: &SlackEventCallback) -> bool
[src]
fn ne(&self, other: &SlackEventCallback) -> bool
[src]
impl Serialize for SlackEventCallback
[src]
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Auto Trait Implementations
impl RefUnwindSafe for SlackEventCallback
impl Send for SlackEventCallback
impl Sync for SlackEventCallback
impl Unpin for SlackEventCallback
impl UnwindSafe for SlackEventCallback
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,