Struct bdk::keys::PrivateKeyGenerateOptions [−][src]
pub struct PrivateKeyGenerateOptions { pub compressed: bool, }
Expand description
Options for generating a PrivateKey
Defaults to creating compressed keys, which save on-chain bytes and fees
Fields
compressed: bool
Whether the generated key should be “compressed” or not
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PrivateKeyGenerateOptions
impl Send for PrivateKeyGenerateOptions
impl Sync for PrivateKeyGenerateOptions
impl Unpin for PrivateKeyGenerateOptions
impl UnwindSafe for PrivateKeyGenerateOptions
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V