pub struct DiscoveryContext {
pub network: Network,
pub scheme: AddressScheme,
pub accounts: Vec<DiscoveryAccountPlan>,
}Expand description
Precomputed account discovery context that avoids exposing raw xprv externally.
Fields§
§network: NetworkNetwork for the descriptors in this context.
scheme: AddressSchemeAddress scheme for descriptors in this context.
accounts: Vec<DiscoveryAccountPlan>Account plans to evaluate.
Trait Implementations§
Source§impl Clone for DiscoveryContext
impl Clone for DiscoveryContext
Source§fn clone(&self) -> DiscoveryContext
fn clone(&self) -> DiscoveryContext
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for DiscoveryContext
impl RefUnwindSafe for DiscoveryContext
impl Send for DiscoveryContext
impl Sync for DiscoveryContext
impl Unpin for DiscoveryContext
impl UnsafeUnpin for DiscoveryContext
impl UnwindSafe for DiscoveryContext
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