pub struct OnChainPaymentMethodDataPreview {
pub derivation_scheme: Option<String>,
pub label: Option<String>,
pub account_key_path: Option<String>,
pub crypto_code: Option<String>,
}Fields§
§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§
Trait Implementations§
Source§impl Clone for OnChainPaymentMethodDataPreview
impl Clone for OnChainPaymentMethodDataPreview
Source§fn clone(&self) -> OnChainPaymentMethodDataPreview
fn clone(&self) -> OnChainPaymentMethodDataPreview
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 OnChainPaymentMethodDataPreview
impl Default for OnChainPaymentMethodDataPreview
Source§fn default() -> OnChainPaymentMethodDataPreview
fn default() -> OnChainPaymentMethodDataPreview
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OnChainPaymentMethodDataPreview
impl<'de> Deserialize<'de> for OnChainPaymentMethodDataPreview
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 OnChainPaymentMethodDataPreview
impl PartialEq for OnChainPaymentMethodDataPreview
Source§fn eq(&self, other: &OnChainPaymentMethodDataPreview) -> bool
fn eq(&self, other: &OnChainPaymentMethodDataPreview) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OnChainPaymentMethodDataPreview
Auto Trait Implementations§
impl Freeze for OnChainPaymentMethodDataPreview
impl RefUnwindSafe for OnChainPaymentMethodDataPreview
impl Send for OnChainPaymentMethodDataPreview
impl Sync for OnChainPaymentMethodDataPreview
impl Unpin for OnChainPaymentMethodDataPreview
impl UnwindSafe for OnChainPaymentMethodDataPreview
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