pub enum DisclosureKind {
Claim {
salt: Vec<u8>,
key: Label,
value: Value,
},
Element {
salt: Vec<u8>,
value: Value,
},
Decoy {
salt: Vec<u8>,
},
}Expand description
A decoded Salted Disclosed Claim entry.
Variants§
Claim
A redacted map claim: [salt, claim value, claim key].
Fields
Element
A redacted array element: [salt, claim value].
Decoy
A decoy entry: [salt].
Trait Implementations§
Source§impl Clone for DisclosureKind
impl Clone for DisclosureKind
Source§fn clone(&self) -> DisclosureKind
fn clone(&self) -> DisclosureKind
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 DisclosureKind
impl Debug for DisclosureKind
Source§impl PartialEq for DisclosureKind
impl PartialEq for DisclosureKind
Source§fn eq(&self, other: &DisclosureKind) -> bool
fn eq(&self, other: &DisclosureKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DisclosureKind
Auto Trait Implementations§
impl Freeze for DisclosureKind
impl RefUnwindSafe for DisclosureKind
impl Send for DisclosureKind
impl Sync for DisclosureKind
impl Unpin for DisclosureKind
impl UnsafeUnpin for DisclosureKind
impl UnwindSafe for DisclosureKind
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