pub struct WebhookState {
pub sender: Sender<String>,
}
Expand description
Webhook state
Fields§
§sender: Sender<String>
Sender
Trait Implementations§
Source§impl Clone for WebhookState
impl Clone for WebhookState
Source§fn clone(&self) -> WebhookState
fn clone(&self) -> WebhookState
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 WebhookState
impl RefUnwindSafe for WebhookState
impl Send for WebhookState
impl Sync for WebhookState
impl Unpin for WebhookState
impl UnwindSafe for WebhookState
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