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: SlackTeamId
Implementations§
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.
impl StructuralPartialEq for SlackMemberLeftChannelEvent
Auto Trait Implementations§
impl Freeze for SlackMemberLeftChannelEvent
impl RefUnwindSafe for SlackMemberLeftChannelEvent
impl Send for SlackMemberLeftChannelEvent
impl Sync for SlackMemberLeftChannelEvent
impl Unpin for SlackMemberLeftChannelEvent
impl UnwindSafe for SlackMemberLeftChannelEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)