pub struct DataIntegrityProof {
pub id: Option<Iri>,
pub cryptosuite: Option<String>,
pub verification_method: Option<Reference<Multikey>>,
pub proof_purpose: Option<ProofPurpose>,
pub proof_value: Option<String>,
pub created: Option<String>,
}Expand description
A proof that can be added to any activity or object, allowing recipients to verify the identity of the actor and the integrity of the data.
The type https://w3id.org/security#DataIntegrityProof.
Fields§
§id: Option<Iri>The IRI that identifies this object.
cryptosuite: Option<String>The cryptographic suite used to create the proof.
verification_method: Option<Reference<Multikey>>A key owned by an actor according to FEP-521a: Representing actor’s public keys.
proof_purpose: Option<ProofPurpose>The reason the proof was created.
proof_value: Option<String>The proof value.
created: Option<String>The date and time the proof was created.
Implementations§
Trait Implementations§
Source§impl Clone for DataIntegrityProof
impl Clone for DataIntegrityProof
Source§fn clone(&self) -> DataIntegrityProof
fn clone(&self) -> DataIntegrityProof
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 DataIntegrityProof
impl Debug for DataIntegrityProof
Source§impl Default for DataIntegrityProof
impl Default for DataIntegrityProof
Source§fn default() -> DataIntegrityProof
fn default() -> DataIntegrityProof
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DataIntegrityProof
impl<'de> Deserialize<'de> for DataIntegrityProof
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl FromJson for DataIntegrityProof
impl FromJson for DataIntegrityProof
Source§impl PartialEq for DataIntegrityProof
impl PartialEq for DataIntegrityProof
Source§impl Serialize for DataIntegrityProof
impl Serialize for DataIntegrityProof
impl StructuralPartialEq for DataIntegrityProof
Auto Trait Implementations§
impl Freeze for DataIntegrityProof
impl RefUnwindSafe for DataIntegrityProof
impl Send for DataIntegrityProof
impl Sync for DataIntegrityProof
impl Unpin for DataIntegrityProof
impl UnsafeUnpin for DataIntegrityProof
impl UnwindSafe for DataIntegrityProof
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