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