pub struct HashCommitment {
pub algorithm: HashAlgorithm,
pub value: NonEmptyString,
pub canonicalization: NonEmptyString,
}Fields§
§algorithm: HashAlgorithm§value: NonEmptyString§canonicalization: NonEmptyStringTrait Implementations§
Source§impl Clone for HashCommitment
impl Clone for HashCommitment
Source§fn clone(&self) -> HashCommitment
fn clone(&self) -> HashCommitment
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 HashCommitment
impl Debug for HashCommitment
Source§impl<'de> Deserialize<'de> for HashCommitment
impl<'de> Deserialize<'de> for HashCommitment
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 HashCommitment
Source§impl PartialEq for HashCommitment
impl PartialEq for HashCommitment
Source§fn eq(&self, other: &HashCommitment) -> bool
fn eq(&self, other: &HashCommitment) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl RunxSchema for HashCommitment
impl RunxSchema for HashCommitment
Source§fn json_schema() -> Value
fn json_schema() -> Value
The inlined JSON Schema for this type.
Source§impl Serialize for HashCommitment
impl Serialize for HashCommitment
impl StructuralPartialEq for HashCommitment
Auto Trait Implementations§
impl Freeze for HashCommitment
impl RefUnwindSafe for HashCommitment
impl Send for HashCommitment
impl Sync for HashCommitment
impl Unpin for HashCommitment
impl UnsafeUnpin for HashCommitment
impl UnwindSafe for HashCommitment
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