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