Struct slack_morphism::prelude::events::SlackChannelDeletedEvent
source · pub struct SlackChannelDeletedEvent {
pub channel: SlackChannelId,
}
Fields§
§channel: SlackChannelId
Implementations§
source§impl SlackChannelDeletedEvent
impl SlackChannelDeletedEvent
pub fn new(channel: SlackChannelId) -> Self
pub fn channel(&mut self, value: SlackChannelId) -> &mut Self
pub fn with_channel(self, value: SlackChannelId) -> Self
Trait Implementations§
source§impl Clone for SlackChannelDeletedEvent
impl Clone for SlackChannelDeletedEvent
source§fn clone(&self) -> SlackChannelDeletedEvent
fn clone(&self) -> SlackChannelDeletedEvent
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 SlackChannelDeletedEvent
impl Debug for SlackChannelDeletedEvent
source§impl<'de> Deserialize<'de> for SlackChannelDeletedEvent
impl<'de> Deserialize<'de> for SlackChannelDeletedEvent
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<SlackChannelDeletedEventInit> for SlackChannelDeletedEvent
impl From<SlackChannelDeletedEventInit> for SlackChannelDeletedEvent
source§fn from(value: SlackChannelDeletedEventInit) -> Self
fn from(value: SlackChannelDeletedEventInit) -> Self
Converts to this type from the input type.
source§impl PartialEq for SlackChannelDeletedEvent
impl PartialEq for SlackChannelDeletedEvent
source§fn eq(&self, other: &SlackChannelDeletedEvent) -> bool
fn eq(&self, other: &SlackChannelDeletedEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SlackChannelDeletedEvent
impl Serialize for SlackChannelDeletedEvent
impl StructuralPartialEq for SlackChannelDeletedEvent
Auto Trait Implementations§
impl RefUnwindSafe for SlackChannelDeletedEvent
impl Send for SlackChannelDeletedEvent
impl Sync for SlackChannelDeletedEvent
impl Unpin for SlackChannelDeletedEvent
impl UnwindSafe for SlackChannelDeletedEvent
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