pub struct Slack {
pub webhook: Url,
}
Expand description
Documentation: https://api.slack.com/messaging/webhooks#getting_started
TLDR:
- Create app
- Enable Incoming Webhooks
- Use the https://hooks.slack.com/… URL
Fields§
§webhook: Url
Implementations§
Auto Trait Implementations§
impl Freeze for Slack
impl RefUnwindSafe for Slack
impl Send for Slack
impl Sync for Slack
impl Unpin 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