pub struct SlackMemberLeftChannelEvent {
pub user: SlackUserId,
pub channel: SlackChannelId,
pub channel_type: SlackChannelType,
pub team: SlackTeamId,
}Fields§
§user: SlackUserId§channel: SlackChannelId§channel_type: SlackChannelType§team: SlackTeamIdImplementations§
source§impl SlackMemberLeftChannelEvent
impl SlackMemberLeftChannelEvent
pub fn new( user: SlackUserId, channel: SlackChannelId, channel_type: SlackChannelType, team: SlackTeamId ) -> Self
pub fn user(&mut self, value: SlackUserId) -> &mut Self
pub fn with_user(self, value: SlackUserId) -> Self
pub fn channel(&mut self, value: SlackChannelId) -> &mut Self
pub fn with_channel(self, value: SlackChannelId) -> Self
pub fn channel_type(&mut self, value: SlackChannelType) -> &mut Self
pub fn with_channel_type(self, value: SlackChannelType) -> Self
pub fn team(&mut self, value: SlackTeamId) -> &mut Self
pub fn with_team(self, value: SlackTeamId) -> Self
Trait Implementations§
source§impl Clone for SlackMemberLeftChannelEvent
impl Clone for SlackMemberLeftChannelEvent
source§fn clone(&self) -> SlackMemberLeftChannelEvent
fn clone(&self) -> SlackMemberLeftChannelEvent
Returns a copy 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 SlackMemberLeftChannelEvent
impl Debug for SlackMemberLeftChannelEvent
source§impl<'de> Deserialize<'de> for SlackMemberLeftChannelEvent
impl<'de> Deserialize<'de> for SlackMemberLeftChannelEvent
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<SlackMemberLeftChannelEventInit> for SlackMemberLeftChannelEvent
impl From<SlackMemberLeftChannelEventInit> for SlackMemberLeftChannelEvent
source§fn from(value: SlackMemberLeftChannelEventInit) -> Self
fn from(value: SlackMemberLeftChannelEventInit) -> Self
Converts to this type from the input type.
source§impl PartialEq<SlackMemberLeftChannelEvent> for SlackMemberLeftChannelEvent
impl PartialEq<SlackMemberLeftChannelEvent> for SlackMemberLeftChannelEvent
source§fn eq(&self, other: &SlackMemberLeftChannelEvent) -> bool
fn eq(&self, other: &SlackMemberLeftChannelEvent) -> bool
This method tests for
self and other values to be equal, and is used
by ==.