pub struct MaximumVariance(pub Option<Duration>);
Expand description
Maximum allowed age for a signature.
Signatures sent by Paddle contain the timestamp when they were generated. Pass this struct to Paddle::unmarshal to set the maximum allowed age for signatures.
MaximumVariance::default - signatures cannot be older than 5 seconds.
Tuple Fields§
§0: Option<Duration>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MaximumVariance
impl RefUnwindSafe for MaximumVariance
impl Send for MaximumVariance
impl Sync for MaximumVariance
impl Unpin for MaximumVariance
impl UnwindSafe for MaximumVariance
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