pub struct WebhookState {
pub store: Arc<Store>,
pub secret: Arc<Vec<u8>>,
pub viewer_id: Arc<String>,
}Expand description
Everything the receiver route needs, shared across requests.
Fields§
§store: Arc<Store>§secret: Arc<Vec<u8>>§viewer_id: Arc<String>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 (const: unstable) · 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 UnsafeUnpin 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