pub struct DigestMetadata {
pub algorithm: String,
pub canonicalization_profile: String,
pub schema_id: String,
pub schema_version: String,
pub domain_separator: String,
}Expand description
Identity context cryptographically bound into a content digest.
Fields§
§algorithm: StringHash algorithm.
canonicalization_profile: StringCanonicalization algorithm/profile.
schema_id: StringSchema identifier for the hashed value.
schema_version: StringSchema version for the hashed value.
domain_separator: StringDomain separator preventing cross-protocol reuse.
Implementations§
Trait Implementations§
Source§impl Clone for DigestMetadata
impl Clone for DigestMetadata
Source§fn clone(&self) -> DigestMetadata
fn clone(&self) -> DigestMetadata
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 DigestMetadata
impl Debug for DigestMetadata
Source§impl Default for DigestMetadata
impl Default for DigestMetadata
Source§impl<'de> Deserialize<'de> for DigestMetadata
impl<'de> Deserialize<'de> for DigestMetadata
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DigestMetadata
Source§impl PartialEq for DigestMetadata
impl PartialEq for DigestMetadata
Source§impl Serialize for DigestMetadata
impl Serialize for DigestMetadata
impl StructuralPartialEq for DigestMetadata
Auto Trait Implementations§
impl Freeze for DigestMetadata
impl RefUnwindSafe for DigestMetadata
impl Send for DigestMetadata
impl Sync for DigestMetadata
impl Unpin for DigestMetadata
impl UnsafeUnpin for DigestMetadata
impl UnwindSafe for DigestMetadata
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