Struct bdk::keys::PrivateKeyGenerateOptions
source · 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§
source§impl Clone for PrivateKeyGenerateOptions
impl Clone for PrivateKeyGenerateOptions
source§fn clone(&self) -> PrivateKeyGenerateOptions
fn clone(&self) -> PrivateKeyGenerateOptions
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more