pub struct WebhookNotification {
pub body: String,
pub signature: Option<String>,
}Expand description
One ready-to-send webhook notification.
Fields§
§body: StringThe JSON body (the pointlockWebhook: 1 envelope).
signature: Option<String>The SIGNATURE_HEADER value, when a secret is configured.
Trait Implementations§
Source§impl Clone for WebhookNotification
impl Clone for WebhookNotification
Source§fn clone(&self) -> WebhookNotification
fn clone(&self) -> WebhookNotification
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 WebhookNotification
impl RefUnwindSafe for WebhookNotification
impl Send for WebhookNotification
impl Sync for WebhookNotification
impl Unpin for WebhookNotification
impl UnsafeUnpin for WebhookNotification
impl UnwindSafe for WebhookNotification
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