pub struct VerifyOptions {
pub doc: String,
pub publisher: String,
pub now: Option<i64>,
}Expand description
What narrows an author verification: the expected doc, the pinned publisher, the clock.
Fields§
§doc: StringThe document the signature must name (its doc claim); empty: any.
publisher: StringThe pinned publisher (its pub claim); empty: any.
now: Option<i64>Unix seconds; None: now.
Trait Implementations§
Source§impl Clone for VerifyOptions
impl Clone 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