pub struct WalletEnvConfig {
pub wallet_env: WalletEnv,
/* private fields */
}Expand description
A configuration for a wallet environment.
Fields§
§wallet_env: WalletEnvThe wallet environment.
Implementations§
Source§impl WalletEnvConfig
impl WalletEnvConfig
Sourcepub fn regtest(
use_sgx: bool,
gateway_url: Option<impl Into<Cow<'static, str>>>,
) -> Self
pub fn regtest( use_sgx: bool, gateway_url: Option<impl Into<Cow<'static, str>>>, ) -> Self
Regtest configuration for local development and testing.
use_sgx: Whether to use SGX enclaves.gateway_url: Custom gateway URL. IfNone, uses the default dev URL.
Sourcepub fn seedphrase_path(&self, data_dir: &Path) -> PathBuf
pub fn seedphrase_path(&self, data_dir: &Path) -> PathBuf
Returns the path to the seedphrase file for this environment.
Trait Implementations§
Source§impl Clone for WalletEnvConfig
impl Clone for WalletEnvConfig
Source§fn clone(&self) -> WalletEnvConfig
fn clone(&self) -> WalletEnvConfig
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 WalletEnvConfig
impl Debug for WalletEnvConfig
Source§impl PartialEq for WalletEnvConfig
impl PartialEq for WalletEnvConfig
impl Eq for WalletEnvConfig
impl StructuralPartialEq for WalletEnvConfig
Auto Trait Implementations§
impl Freeze for WalletEnvConfig
impl RefUnwindSafe for WalletEnvConfig
impl Send for WalletEnvConfig
impl Sync for WalletEnvConfig
impl Unpin for WalletEnvConfig
impl UnwindSafe for WalletEnvConfig
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.