pub struct WalletOpts<O: DescriptorOpts = DescrStdOpts> {
pub name: Option<Ident>,
pub wallet_path: Option<PathBuf>,
pub descriptor_opts: O,
}
Fields§
§name: Option<Ident>
§wallet_path: Option<PathBuf>
Path to wallet directory.
descriptor_opts: O
Trait Implementations§
Source§impl<O: DescriptorOpts> Args for WalletOpts<O>
impl<O: DescriptorOpts> Args for WalletOpts<O>
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§impl<O: Clone + DescriptorOpts> Clone for WalletOpts<O>
impl<O: Clone + DescriptorOpts> Clone for WalletOpts<O>
Source§fn clone(&self) -> WalletOpts<O>
fn clone(&self) -> WalletOpts<O>
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 moreSource§impl<O: Debug + DescriptorOpts> Debug for WalletOpts<O>
impl<O: Debug + DescriptorOpts> Debug for WalletOpts<O>
Source§impl<O: DescriptorOpts> FromArgMatches for WalletOpts<O>
impl<O: DescriptorOpts> FromArgMatches for WalletOpts<O>
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.Source§impl<O: PartialEq + DescriptorOpts> PartialEq for WalletOpts<O>
impl<O: PartialEq + DescriptorOpts> PartialEq for WalletOpts<O>
impl<O: Eq + DescriptorOpts> Eq for WalletOpts<O>
impl<O: DescriptorOpts> StructuralPartialEq for WalletOpts<O>
Auto Trait Implementations§
impl<O> Freeze for WalletOpts<O>where
O: Freeze,
impl<O> RefUnwindSafe for WalletOpts<O>where
O: RefUnwindSafe,
impl<O> Send for WalletOpts<O>where
O: Send,
impl<O> Sync for WalletOpts<O>where
O: Sync,
impl<O> Unpin for WalletOpts<O>where
O: Unpin,
impl<O> UnwindSafe for WalletOpts<O>where
O: UnwindSafe,
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.