pub struct OnChainPaymentMethodDataWithSensitiveData {
pub enabled: Option<bool>,
pub payment_method: Option<String>,
pub derivation_scheme: Option<String>,
pub label: Option<String>,
pub account_key_path: Option<String>,
pub crypto_code: Option<String>,
pub mnemonic: Option<String>,
}Fields§
§enabled: Option<bool>Whether the payment method is enabled
payment_method: Option<String>The payment method
derivation_scheme: Option<String>The derivation scheme
label: Option<String>A label that will be shown in the UI
account_key_path: Option<String>The wallet fingerprint followed by the keypath to derive the account key used for signing operation or creating PSBTs
crypto_code: Option<String>Crypto code of the payment method
mnemonic: Option<String>The mnemonic used to generate the wallet
Implementations§
Trait Implementations§
Source§impl Clone for OnChainPaymentMethodDataWithSensitiveData
impl Clone for OnChainPaymentMethodDataWithSensitiveData
Source§fn clone(&self) -> OnChainPaymentMethodDataWithSensitiveData
fn clone(&self) -> OnChainPaymentMethodDataWithSensitiveData
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 Default for OnChainPaymentMethodDataWithSensitiveData
impl Default for OnChainPaymentMethodDataWithSensitiveData
Source§fn default() -> OnChainPaymentMethodDataWithSensitiveData
fn default() -> OnChainPaymentMethodDataWithSensitiveData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OnChainPaymentMethodDataWithSensitiveData
impl<'de> Deserialize<'de> for OnChainPaymentMethodDataWithSensitiveData
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 PartialEq for OnChainPaymentMethodDataWithSensitiveData
impl PartialEq for OnChainPaymentMethodDataWithSensitiveData
Source§fn eq(&self, other: &OnChainPaymentMethodDataWithSensitiveData) -> bool
fn eq(&self, other: &OnChainPaymentMethodDataWithSensitiveData) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OnChainPaymentMethodDataWithSensitiveData
Auto Trait Implementations§
impl Freeze for OnChainPaymentMethodDataWithSensitiveData
impl RefUnwindSafe for OnChainPaymentMethodDataWithSensitiveData
impl Send for OnChainPaymentMethodDataWithSensitiveData
impl Sync for OnChainPaymentMethodDataWithSensitiveData
impl Unpin for OnChainPaymentMethodDataWithSensitiveData
impl UnwindSafe for OnChainPaymentMethodDataWithSensitiveData
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