Struct mutiny_core::MutinyWalletConfig
source · pub struct MutinyWalletConfig {
pub safe_mode: bool,
/* private fields */
}
Fields§
§safe_mode: bool
Implementations§
source§impl MutinyWalletConfig
impl MutinyWalletConfig
pub fn new( xprivkey: ExtendedPrivKey, network: Network, user_esplora_url: Option<String>, user_rgs_url: Option<String>, lsp_url: Option<String>, auth_client: Option<Arc<MutinyAuthClient>>, subscription_url: Option<String>, scorer_url: Option<String>, skip_device_lock: bool, skip_hodl_invoices: bool ) -> Self
pub fn with_do_not_connect_peers(self) -> Self
pub fn with_safe_mode(self) -> Self
Trait Implementations§
source§impl Clone for MutinyWalletConfig
impl Clone for MutinyWalletConfig
source§fn clone(&self) -> MutinyWalletConfig
fn clone(&self) -> MutinyWalletConfig
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for MutinyWalletConfig
impl Send for MutinyWalletConfig
impl Sync for MutinyWalletConfig
impl Unpin for MutinyWalletConfig
impl !UnwindSafe for MutinyWalletConfig
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