pub struct VerifyOptions {
pub tolerance_seconds: u64,
pub now: Option<i64>,
}Expand description
Options for verify_webhook.
Fields§
§tolerance_seconds: u64Max distance between the signed timestamp and now, in seconds.
now: Option<i64>Current unix time in seconds; None reads the system clock. For tests.
Trait Implementations§
Source§impl Clone for VerifyOptions
impl Clone for VerifyOptions
impl Copy for VerifyOptions
Source§impl Debug for VerifyOptions
impl Debug for VerifyOptions
Auto Trait Implementations§
impl Forget for VerifyOptions
impl Freeze for VerifyOptions
impl Move for VerifyOptions
impl RefUnwindSafe for VerifyOptions
impl Send for VerifyOptions
impl Sync for VerifyOptions
impl Unpin for VerifyOptions
impl UnsafeUnpin for VerifyOptions
impl UnwindSafe for VerifyOptions
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