pub struct RestoreReport {
pub value: Value,
pub disclosed: usize,
pub decoys: usize,
pub removed_redactions: usize,
}Expand description
Result of restoring disclosed SD-CWT claims.
Fields§
§value: ValueThe restored claims value.
disclosed: usizeNumber of map claims or array elements restored from disclosures.
decoys: usizeNumber of matching decoy redactions removed.
removed_redactions: usizeNumber of redactions removed because no disclosure was presented.
Trait Implementations§
Source§impl Clone for RestoreReport
impl Clone for RestoreReport
Source§fn clone(&self) -> RestoreReport
fn clone(&self) -> RestoreReport
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 RestoreReport
impl Debug for RestoreReport
Source§impl PartialEq for RestoreReport
impl PartialEq for RestoreReport
Source§fn eq(&self, other: &RestoreReport) -> bool
fn eq(&self, other: &RestoreReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RestoreReport
Auto Trait Implementations§
impl Freeze for RestoreReport
impl RefUnwindSafe for RestoreReport
impl Send for RestoreReport
impl Sync for RestoreReport
impl Unpin for RestoreReport
impl UnsafeUnpin for RestoreReport
impl UnwindSafe for RestoreReport
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