pub struct WebhookState<S> {
pub store: Arc<S>,
pub tx: Sender<WebhookEvent>,
}Fields§
§store: Arc<S>§tx: Sender<WebhookEvent>Trait Implementations§
Source§impl<S: Clone> Clone for WebhookState<S>
impl<S: Clone> Clone for WebhookState<S>
Source§fn clone(&self) -> WebhookState<S>
fn clone(&self) -> WebhookState<S>
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 moreimpl<S: Send + Sync> Send for WebhookState<S>
impl<S: Send + Sync> Sync for WebhookState<S>
Auto Trait Implementations§
impl<S> Freeze for WebhookState<S>
impl<S> RefUnwindSafe for WebhookState<S>where
S: RefUnwindSafe,
impl<S> Unpin for WebhookState<S>
impl<S> UnwindSafe for WebhookState<S>where
S: RefUnwindSafe,
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