pub struct VerifyOptions {
pub max_age: Duration,
pub require_full_access: bool,
}Expand description
Options for signature verification.
Fields§
§max_age: DurationMaximum age for the signature to be considered valid.
Set to Duration::MAX to disable expiration checking.
Default: 5 minutes.
require_full_access: boolWhether to verify that the public key belongs to the account and has full access permission via RPC. Default: true.
Trait Implementations§
Source§impl Clone for VerifyOptions
impl Clone for VerifyOptions
Source§fn clone(&self) -> VerifyOptions
fn clone(&self) -> VerifyOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VerifyOptions
impl Debug for VerifyOptions
Auto Trait Implementations§
impl Freeze 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