pub struct Seed {
pub phrase: Option<&'static str>,
pub path: Option<&'static str>,
pub xpub: Option<&'static str>,
pub entropy: Option<Entropy>,
}Expand description
BIP39 seed phrase with optional derivation path.
Fields§
§phrase: Option<&'static str>Mnemonic phrase (12/15/18/21/24 words), None if unknown
path: Option<&'static str>HD derivation path (e.g., “m/44’/0’/0’/0/0”)
xpub: Option<&'static str>Extended public key (xpub/ypub/zpub)
entropy: Option<Entropy>External entropy source (for deterministic seeds like bitimage)
Trait Implementations§
impl Copy for Seed
impl Eq for Seed
impl StructuralPartialEq for Seed
Auto Trait Implementations§
impl Freeze for Seed
impl RefUnwindSafe for Seed
impl Send for Seed
impl Sync for Seed
impl Unpin for Seed
impl UnwindSafe for Seed
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