pub struct RetrieverSetting { /* private fields */ }Implementations§
Source§impl RetrieverSetting
impl RetrieverSetting
pub fn get_bitcoincore_rpc_url(&self) -> &Option<String>
pub fn get_bitcoincore_rpc_port(&self) -> &Option<String>
pub fn get_bitcoincore_rpc_timeout_seconds(&self) -> &Option<u64>
pub fn get_mnemonic(&self) -> &String
pub fn get_passphrase(&self) -> &String
pub fn get_base_derivation_paths(&self) -> &Option<Vec<String>>
pub fn get_exploration_path(&self) -> &Option<String>
pub fn get_selected_descriptors(&self) -> &Option<Vec<CoveredDescriptors>>
pub fn get_sweep(&self) -> &Option<bool>
pub fn get_exploration_depth(&self) -> &Option<u32>
pub fn get_network(&self) -> &Option<Network>
pub fn get_data_dir(&self) -> &String
Source§impl RetrieverSetting
impl RetrieverSetting
pub fn new( bitcoincore_rpc_url: Option<String>, bitcoincore_rpc_port: Option<String>, bitcoincore_rpc_cookie_path: String, bitcoincore_rpc_timeout_seconds: Option<u64>, mnemonic: String, passphrase: String, base_derivation_paths: Option<Vec<String>>, exploration_path: Option<String>, selected_descriptors: Option<Vec<CoveredDescriptors>>, sweep: Option<bool>, exploration_depth: Option<u32>, network: Option<Network>, data_dir: String, ) -> Self
pub fn from_config_file(config_file_path: &str) -> Result<Self, RetrieverError>
pub fn get_client_setting(&self) -> ClientSetting
pub fn get_explorer_setting(&self) -> ExplorerSetting
Trait Implementations§
Source§impl Clone for RetrieverSetting
impl Clone for RetrieverSetting
Source§fn clone(&self) -> RetrieverSetting
fn clone(&self) -> RetrieverSetting
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 moreSource§impl Debug for RetrieverSetting
impl Debug for RetrieverSetting
Source§impl<'de> Deserialize<'de> for RetrieverSetting
impl<'de> Deserialize<'de> for RetrieverSetting
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for RetrieverSetting
impl Serialize for RetrieverSetting
Source§impl Zeroize for RetrieverSetting
impl Zeroize for RetrieverSetting
impl ZeroizeOnDrop for RetrieverSetting
Auto Trait Implementations§
impl Freeze for RetrieverSetting
impl RefUnwindSafe for RetrieverSetting
impl Send for RetrieverSetting
impl Sync for RetrieverSetting
impl Unpin for RetrieverSetting
impl UnwindSafe for RetrieverSetting
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more