Struct bdk_wallet::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 moresource§impl Debug for PrivateKeyGenerateOptions
impl Debug for PrivateKeyGenerateOptions
source§impl Default for PrivateKeyGenerateOptions
impl Default for PrivateKeyGenerateOptions
impl Copy for PrivateKeyGenerateOptions
Auto Trait Implementations§
impl Freeze for PrivateKeyGenerateOptions
impl RefUnwindSafe for PrivateKeyGenerateOptions
impl Send for PrivateKeyGenerateOptions
impl Sync for PrivateKeyGenerateOptions
impl Unpin for PrivateKeyGenerateOptions
impl UnwindSafe for PrivateKeyGenerateOptions
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