pub struct Slack;Implementations§
Source§impl Slack
impl Slack
pub fn log<T: Serialize + Send + 'static>(&self, body: T)
pub fn success<T: Serialize + Send + 'static>(&self, body: T)
pub fn info<T: Serialize + Send + 'static>(&self, body: T)
pub fn warn<T: Serialize + Send + 'static>(&self, body: T)
pub fn error<T: Serialize + Send + 'static>(&self, body: T)
pub fn block(&self, title: &str, body: &[BlockField])
pub fn success_block(&self, title: &str, body: &[BlockField])
pub fn info_block(&self, title: &str, body: &[BlockField])
pub fn warn_block(&self, title: &str, body: &[BlockField])
pub fn error_block(&self, title: &str, body: &[BlockField])
Auto Trait Implementations§
impl Freeze for Slack
impl RefUnwindSafe for Slack
impl Send for Slack
impl Sync for Slack
impl Unpin for Slack
impl UnsafeUnpin for Slack
impl UnwindSafe for Slack
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