pub struct GetKeypoolOptions {
pub path: DerivationPath,
pub start: u32,
pub end: u32,
pub internal: bool,
pub descriptor_type: DescriptorType,
pub network: Network,
}Expand description
Parameters for a wildcard descriptor and an inclusive keypool range.
Fields§
§path: DerivationPathThe account or parent path to which the receive/change branch is appended.
start: u32The first child index in the inclusive range.
end: u32The last child index in the inclusive range.
internal: boolWhether to append the change branch (1) rather than the receive branch (0).
descriptor_type: DescriptorTypeThe requested script type.
network: NetworkThe network used for descriptor construction.
Trait Implementations§
Source§impl Clone for GetKeypoolOptions
impl Clone for GetKeypoolOptions
Source§fn clone(&self) -> GetKeypoolOptions
fn clone(&self) -> GetKeypoolOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for GetKeypoolOptions
impl RefUnwindSafe for GetKeypoolOptions
impl Send for GetKeypoolOptions
impl Sync for GetKeypoolOptions
impl Unpin for GetKeypoolOptions
impl UnsafeUnpin for GetKeypoolOptions
impl UnwindSafe for GetKeypoolOptions
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