pub struct EntropyVerified {
pub derivation: Option<String>,
pub source: Option<String>,
pub contributions: usize,
pub values_verified: usize,
}Expand description
Outcome of re-deriving a transcript’s entropy source.
Fields§
§derivation: Option<String>Derivation-scheme tag declared by the seed fact, if the ceremony used the source at all.
source: Option<String>Provenance of the machine seed as recorded by the seed fact (e.g.
os, or the dry-run sentinel). Consumers surface this so a
dry-run transcript, which re-derives just as cleanly as a real one,
is never presented as real evidence.
contributions: usizeNumber of human contributions folded into the ratchet.
values_verified: usizeNumber of drawn values that re-derived to their recorded value.
Trait Implementations§
Source§impl Clone for EntropyVerified
impl Clone for EntropyVerified
Source§fn clone(&self) -> EntropyVerified
fn clone(&self) -> EntropyVerified
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 EntropyVerified
impl Debug for EntropyVerified
Source§impl Default for EntropyVerified
impl Default for EntropyVerified
Source§fn default() -> EntropyVerified
fn default() -> EntropyVerified
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EntropyVerified
impl RefUnwindSafe for EntropyVerified
impl Send for EntropyVerified
impl Sync for EntropyVerified
impl Unpin for EntropyVerified
impl UnsafeUnpin for EntropyVerified
impl UnwindSafe for EntropyVerified
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