pub struct SlackClient { /* private fields */ }Implementations§
Source§impl SlackClient
impl SlackClient
Sourcepub async fn send_message<T: IntoFormattedMessage>(
&self,
message: T,
) -> Result<()>
pub async fn send_message<T: IntoFormattedMessage>( &self, message: T, ) -> Result<()>
Send slack message through Slack’s API.
Sourcepub fn send_message_sync<T: IntoFormattedMessage>(
&self,
message: T,
) -> Result<()>
pub fn send_message_sync<T: IntoFormattedMessage>( &self, message: T, ) -> Result<()>
Send slack message through Slack’s API synchronously. Ignores the future
Trait Implementations§
Source§impl Clone for SlackClient
impl Clone for SlackClient
Source§fn clone(&self) -> SlackClient
fn clone(&self) -> SlackClient
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for SlackClient
impl !RefUnwindSafe for SlackClient
impl Send for SlackClient
impl Sync for SlackClient
impl Unpin for SlackClient
impl !UnwindSafe for SlackClient
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