pub struct SignatureConfig {
pub public_key: PublicKey,
pub signature: Signature,
pub signed_data: Option<Vec<u8>>,
pub ignore_expired: bool,
}Expand description
Signature verification configuration.
Fields§
§public_key: PublicKeyThe public key to verify with
signature: SignatureThe expected signature
signed_data: Option<Vec<u8>>The data that was signed (if known)
ignore_expired: boolWhether to ignore expired signatures
Implementations§
Source§impl SignatureConfig
impl SignatureConfig
Trait Implementations§
Source§impl Clone for SignatureConfig
impl Clone for SignatureConfig
Source§fn clone(&self) -> SignatureConfig
fn clone(&self) -> SignatureConfig
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 moreAuto Trait Implementations§
impl Freeze for SignatureConfig
impl RefUnwindSafe for SignatureConfig
impl Send for SignatureConfig
impl Sync for SignatureConfig
impl Unpin for SignatureConfig
impl UnsafeUnpin for SignatureConfig
impl UnwindSafe for SignatureConfig
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