pub struct Bolt11Settings {
pub mpp: bool,
pub unit: CurrencyUnit,
pub invoice_description: bool,
pub amountless: bool,
pub bolt12: bool,
}
Expand description
Ln backend settings
Fields§
§mpp: bool
MPP supported
unit: CurrencyUnit
Base unit of backend
invoice_description: bool
Invoice Description supported
amountless: bool
Paying amountless invoices supported
bolt12: bool
Bolt12 supported
Trait Implementations§
Source§impl Clone for Bolt11Settings
impl Clone for Bolt11Settings
Source§fn clone(&self) -> Bolt11Settings
fn clone(&self) -> Bolt11Settings
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 Bolt11Settings
impl Debug for Bolt11Settings
Source§impl<'de> Deserialize<'de> for Bolt11Settings
impl<'de> Deserialize<'de> for Bolt11Settings
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 Hash for Bolt11Settings
impl Hash for Bolt11Settings
Source§impl PartialEq for Bolt11Settings
impl PartialEq for Bolt11Settings
Source§impl Serialize for Bolt11Settings
impl Serialize for Bolt11Settings
Source§impl TryFrom<Bolt11Settings> for Value
impl TryFrom<Bolt11Settings> for Value
Source§impl TryFrom<Value> for Bolt11Settings
impl TryFrom<Value> for Bolt11Settings
impl Eq for Bolt11Settings
impl StructuralPartialEq for Bolt11Settings
Auto Trait Implementations§
impl Freeze for Bolt11Settings
impl RefUnwindSafe for Bolt11Settings
impl Send for Bolt11Settings
impl Sync for Bolt11Settings
impl Unpin for Bolt11Settings
impl UnwindSafe for Bolt11Settings
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