pub struct WebhookClient { /* private fields */ }Implementations§
Source§impl WebhookClient
impl WebhookClient
pub fn new(config: Config) -> Self
pub async fn forward_email(&self, email: EmailPayload) -> Result<()>
Auto Trait Implementations§
impl Freeze for WebhookClient
impl !RefUnwindSafe for WebhookClient
impl Send for WebhookClient
impl Sync for WebhookClient
impl Unpin for WebhookClient
impl !UnwindSafe for WebhookClient
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