pub struct KeypoolDescriptor {
pub descriptor: Descriptor<DescriptorPublicKey>,
pub range: [u32; 2],
pub internal: bool,
pub keypool: bool,
}Expand description
A ranged descriptor record suitable for Bitcoin Core keypool import.
Fields§
§descriptor: Descriptor<DescriptorPublicKey>The wildcard descriptor, serialized as a string without a checksum.
range: [u32; 2]The inclusive first and last child indices; the descriptor remains ranged.
internal: boolWhether this describes the internal change branch.
keypool: boolWhether the descriptor should be added to the keypool.
Trait Implementations§
Source§impl Clone for KeypoolDescriptor
impl Clone for KeypoolDescriptor
Source§impl Debug for KeypoolDescriptor
impl Debug for KeypoolDescriptor
Auto Trait Implementations§
impl !Freeze for KeypoolDescriptor
impl RefUnwindSafe for KeypoolDescriptor
impl Send for KeypoolDescriptor
impl Sync for KeypoolDescriptor
impl Unpin for KeypoolDescriptor
impl UnsafeUnpin for KeypoolDescriptor
impl UnwindSafe for KeypoolDescriptor
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