#[non_exhaustive]pub struct HashExpression {
pub algorithm: HashAlgorithm,
pub value: String,
}Expand description
A parsed hash-algorithm "-" base64-value pair.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.algorithm: HashAlgorithmThe hash algorithm.
value: StringThe base64-value, exactly as it appeared (no decoding performed).
Trait Implementations§
Source§impl Clone for HashExpression
impl Clone for HashExpression
Source§fn clone(&self) -> HashExpression
fn clone(&self) -> HashExpression
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HashExpression
impl Debug for HashExpression
impl Eq for HashExpression
Source§impl PartialEq for HashExpression
impl PartialEq for HashExpression
impl StructuralPartialEq for HashExpression
Auto Trait Implementations§
impl Freeze for HashExpression
impl RefUnwindSafe for HashExpression
impl Send for HashExpression
impl Sync for HashExpression
impl Unpin for HashExpression
impl UnsafeUnpin for HashExpression
impl UnwindSafe for HashExpression
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