pub struct SlackChannelCreatedEventInit {
pub channel: SlackChannelInfo,
}Expand description
Required fields of SlackChannelCreatedEvent; convert with SlackChannelCreatedEvent::from or .into().
Fields§
§channel: SlackChannelInfoValue for the channel field of SlackChannelCreatedEvent.
Trait Implementations§
Source§impl From<SlackChannelCreatedEventInit> for SlackChannelCreatedEvent
impl From<SlackChannelCreatedEventInit> for SlackChannelCreatedEvent
Source§fn from(value: SlackChannelCreatedEventInit) -> Self
fn from(value: SlackChannelCreatedEventInit) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SlackChannelCreatedEventInit
impl RefUnwindSafe for SlackChannelCreatedEventInit
impl Send for SlackChannelCreatedEventInit
impl Sync for SlackChannelCreatedEventInit
impl Unpin for SlackChannelCreatedEventInit
impl UnsafeUnpin for SlackChannelCreatedEventInit
impl UnwindSafe for SlackChannelCreatedEventInit
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