pub struct Entropy {
pub hash: &'static str,
pub source: Option<EntropySource>,
pub passphrase: Option<Passphrase>,
}Expand description
External entropy used to derive a seed (for bitimage, brainwallet-style puzzles).
Fields§
§hash: &'static strSHA256 hash of the entropy data (for verification)
source: Option<EntropySource>Source of the entropy (URL, description)
passphrase: Option<Passphrase>BIP39 passphrase status
Trait Implementations§
impl Copy for Entropy
impl Eq for Entropy
impl StructuralPartialEq for Entropy
Auto Trait Implementations§
impl Freeze for Entropy
impl RefUnwindSafe for Entropy
impl Send for Entropy
impl Sync for Entropy
impl Unpin for Entropy
impl UnwindSafe for Entropy
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