pub struct HashDataAssertion {
pub name: String,
pub hash: Vec<u8>,
pub algorithm: String,
pub exclusions: Vec<ExclusionRange>,
}Expand description
C2PA hash-data assertion binding manifest to the asset (§9.1, CBOR map).
Fields§
§name: String§hash: Vec<u8>§algorithm: StringAlgorithm identifier per §15.4.
exclusions: Vec<ExclusionRange>Trait Implementations§
Source§impl Clone for HashDataAssertion
impl Clone for HashDataAssertion
Source§fn clone(&self) -> HashDataAssertion
fn clone(&self) -> HashDataAssertion
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 HashDataAssertion
impl Debug for HashDataAssertion
Source§impl<'de> Deserialize<'de> for HashDataAssertion
impl<'de> Deserialize<'de> for HashDataAssertion
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
Auto Trait Implementations§
impl Freeze for HashDataAssertion
impl RefUnwindSafe for HashDataAssertion
impl Send for HashDataAssertion
impl Sync for HashDataAssertion
impl Unpin for HashDataAssertion
impl UnsafeUnpin for HashDataAssertion
impl UnwindSafe for HashDataAssertion
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