pub struct ParameterDetails {
pub algorithm: Option<Algorithm>,
pub created: Option<i64>,
pub expires: Option<i64>,
pub keyid: Option<String>,
pub nonce: Option<String>,
pub tag: Option<String>,
}Expand description
Parsed values from Signature-Input header.
Fields§
§algorithm: Option<Algorithm>The value of the alg parameter, if present and resolves to a known algorithm.
created: Option<i64>The value of the created parameter, if present.
expires: Option<i64>The value of the expires parameter, if present.
keyid: Option<String>The value of the keyid parameter, if present.
nonce: Option<String>The value of the nonce parameter, if present.
tag: Option<String>The value of the tag parameter,if present.
Implementations§
Source§impl ParameterDetails
impl ParameterDetails
Sourcepub fn possibly_insecure<F>(&self, nonce_validator: F) -> SecurityAdvisory
pub fn possibly_insecure<F>(&self, nonce_validator: F) -> SecurityAdvisory
Indicates whether or not the message has semantic errors
that suggest the message should not be verified on account of posing
a security risk. nonce_validator should return true if the nonce is
invalid, and false otherwise.
Trait Implementations§
Source§impl Clone for ParameterDetails
impl Clone for ParameterDetails
Source§fn clone(&self) -> ParameterDetails
fn clone(&self) -> ParameterDetails
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 ParameterDetails
impl Debug for ParameterDetails
Source§impl PartialEq for ParameterDetails
impl PartialEq for ParameterDetails
impl Eq for ParameterDetails
impl StructuralPartialEq for ParameterDetails
Auto Trait Implementations§
impl Freeze for ParameterDetails
impl RefUnwindSafe for ParameterDetails
impl Send for ParameterDetails
impl Sync for ParameterDetails
impl Unpin for ParameterDetails
impl UnsafeUnpin for ParameterDetails
impl UnwindSafe for ParameterDetails
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.