pub struct SignedHeaders {
pub webhook_id: String,
pub webhook_timestamp: i64,
pub webhook_signature: String,
}Expand description
The three Standard Webhooks headers produced by sign_headers.
Fields§
§webhook_id: StringValue for the webhook-id header.
webhook_timestamp: i64Value for the webhook-timestamp header (Unix seconds).
webhook_signature: StringValue for the webhook-signature header.
Contains one v1,<base64> entry per secret, joined by spaces.
Multiple entries support key rotation — a receiver accepts the message
if any entry matches.
Auto Trait Implementations§
impl Freeze for SignedHeaders
impl RefUnwindSafe for SignedHeaders
impl Send for SignedHeaders
impl Sync for SignedHeaders
impl Unpin for SignedHeaders
impl UnsafeUnpin for SignedHeaders
impl UnwindSafe for SignedHeaders
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