pub enum ProofPurpose {
AssertionMethod,
Authentication,
CapabilityInvocation,
CapabilityDelegation,
KeyAgreement,
}Expand description
A Data Integrity proof’s purpose.
Variants§
Trait Implementations§
Source§impl Clone for ProofPurpose
impl Clone for ProofPurpose
Source§fn clone(&self) -> ProofPurpose
fn clone(&self) -> ProofPurpose
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 moreimpl Copy for ProofPurpose
Source§impl Debug for ProofPurpose
impl Debug for ProofPurpose
impl Eq for ProofPurpose
Source§impl FromJson for ProofPurpose
impl FromJson for ProofPurpose
Source§impl PartialEq for ProofPurpose
impl PartialEq for ProofPurpose
impl StructuralPartialEq for ProofPurpose
Auto Trait Implementations§
impl Freeze for ProofPurpose
impl RefUnwindSafe for ProofPurpose
impl Send for ProofPurpose
impl Sync for ProofPurpose
impl Unpin for ProofPurpose
impl UnsafeUnpin for ProofPurpose
impl UnwindSafe for ProofPurpose
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