pub struct SlackCodec;Expand description
Slack Events API and chat.postMessage codec.
Trait Implementations§
Source§impl ChannelCodec for SlackCodec
impl ChannelCodec for SlackCodec
fn channel(&self) -> ChannelId
fn challenge(&self, payload: &str) -> Option<String>
fn decode(&self, payload: &str) -> Result<Option<InboundMessage>, ChannelError>
fn encode( &self, message: &OutboundMessage, ) -> Result<OutboundRequest, ChannelError>
Source§impl Clone for SlackCodec
impl Clone for SlackCodec
impl Copy for SlackCodec
Source§impl Debug for SlackCodec
impl Debug for SlackCodec
Auto Trait Implementations§
impl Freeze for SlackCodec
impl RefUnwindSafe for SlackCodec
impl Send for SlackCodec
impl Sync for SlackCodec
impl Unpin for SlackCodec
impl UnsafeUnpin for SlackCodec
impl UnwindSafe for SlackCodec
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