pub struct UpdateLightningNetworkPaymentMethodRequest {
pub connection_string: Option<String>,
pub disable_bolt11_payment_option: Option<bool>,
pub enabled: Option<bool>,
}Fields§
§connection_string: Option<String>The lightning connection string. Set to ‘Internal Node’ to use the internal node. (See this doc for some example)
disable_bolt11_payment_option: Option<bool>Whether to disable generation of bolt11 invoices. Useful when wanting to only use LNURL Pay exclusively.
enabled: Option<bool>Whether the payment method is enabled
Implementations§
Trait Implementations§
Source§impl Clone for UpdateLightningNetworkPaymentMethodRequest
impl Clone for UpdateLightningNetworkPaymentMethodRequest
Source§fn clone(&self) -> UpdateLightningNetworkPaymentMethodRequest
fn clone(&self) -> UpdateLightningNetworkPaymentMethodRequest
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 UpdateLightningNetworkPaymentMethodRequest
impl Default for UpdateLightningNetworkPaymentMethodRequest
Source§fn default() -> UpdateLightningNetworkPaymentMethodRequest
fn default() -> UpdateLightningNetworkPaymentMethodRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateLightningNetworkPaymentMethodRequest
impl<'de> Deserialize<'de> for UpdateLightningNetworkPaymentMethodRequest
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 UpdateLightningNetworkPaymentMethodRequest
impl PartialEq for UpdateLightningNetworkPaymentMethodRequest
Source§fn eq(&self, other: &UpdateLightningNetworkPaymentMethodRequest) -> bool
fn eq(&self, other: &UpdateLightningNetworkPaymentMethodRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateLightningNetworkPaymentMethodRequest
Auto Trait Implementations§
impl Freeze for UpdateLightningNetworkPaymentMethodRequest
impl RefUnwindSafe for UpdateLightningNetworkPaymentMethodRequest
impl Send for UpdateLightningNetworkPaymentMethodRequest
impl Sync for UpdateLightningNetworkPaymentMethodRequest
impl Unpin for UpdateLightningNetworkPaymentMethodRequest
impl UnwindSafe for UpdateLightningNetworkPaymentMethodRequest
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