pub struct EntropyFrame {
pub bytes: Vec<u8>,
pub hash_5dqeh: String,
pub h_min: f64,
pub source: EntropySource,
pub proof: PrivacyProof,
}Expand description
An entropy frame from physical/virtual micro-nodes.
Fields§
§bytes: Vec<u8>Raw entropy bytes (≥256 bits)
hash_5dqeh: String5Dqeh hash of the frame (hex)
h_min: f64Min-entropy estimate
source: EntropySourceSource kind
proof: PrivacyProofZKP proof of quality
Trait Implementations§
Source§impl Clone for EntropyFrame
impl Clone for EntropyFrame
Source§impl Debug for EntropyFrame
impl Debug for EntropyFrame
Source§impl<'de> Deserialize<'de> for EntropyFrame
impl<'de> Deserialize<'de> for EntropyFrame
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EntropyFrame
impl RefUnwindSafe for EntropyFrame
impl Send for EntropyFrame
impl Sync for EntropyFrame
impl Unpin for EntropyFrame
impl UnsafeUnpin for EntropyFrame
impl UnwindSafe for EntropyFrame
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