pub struct OnChainPaymentMethodData {
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>,
}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
Implementations§
Source§impl OnChainPaymentMethodData
impl OnChainPaymentMethodData
pub fn new() -> OnChainPaymentMethodData
Trait Implementations§
Source§impl Clone for OnChainPaymentMethodData
impl Clone for OnChainPaymentMethodData
Source§fn clone(&self) -> OnChainPaymentMethodData
fn clone(&self) -> OnChainPaymentMethodData
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 OnChainPaymentMethodData
impl Debug for OnChainPaymentMethodData
Source§impl Default for OnChainPaymentMethodData
impl Default for OnChainPaymentMethodData
Source§fn default() -> OnChainPaymentMethodData
fn default() -> OnChainPaymentMethodData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OnChainPaymentMethodData
impl<'de> Deserialize<'de> for OnChainPaymentMethodData
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 OnChainPaymentMethodData
impl PartialEq for OnChainPaymentMethodData
Source§impl Serialize for OnChainPaymentMethodData
impl Serialize for OnChainPaymentMethodData
impl StructuralPartialEq for OnChainPaymentMethodData
Auto Trait Implementations§
impl Freeze for OnChainPaymentMethodData
impl RefUnwindSafe for OnChainPaymentMethodData
impl Send for OnChainPaymentMethodData
impl Sync for OnChainPaymentMethodData
impl Unpin for OnChainPaymentMethodData
impl UnwindSafe for OnChainPaymentMethodData
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