pub struct Bolt12Settings {
pub amountless: bool,
}Expand description
BOLT12 settings
Fields§
§amountless: boolAmountless offer support
Trait Implementations§
Source§impl Clone for Bolt12Settings
impl Clone for Bolt12Settings
Source§fn clone(&self) -> Bolt12Settings
fn clone(&self) -> Bolt12Settings
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 Bolt12Settings
impl Debug for Bolt12Settings
Source§impl Default for Bolt12Settings
impl Default for Bolt12Settings
Source§fn default() -> Bolt12Settings
fn default() -> Bolt12Settings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Bolt12Settings
impl<'de> Deserialize<'de> for Bolt12Settings
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 Bolt12Settings
impl Hash for Bolt12Settings
Source§impl PartialEq for Bolt12Settings
impl PartialEq for Bolt12Settings
Source§impl Serialize for Bolt12Settings
impl Serialize for Bolt12Settings
impl Eq for Bolt12Settings
impl StructuralPartialEq for Bolt12Settings
Auto Trait Implementations§
impl Freeze for Bolt12Settings
impl RefUnwindSafe for Bolt12Settings
impl Send for Bolt12Settings
impl Sync for Bolt12Settings
impl Unpin for Bolt12Settings
impl UnsafeUnpin for Bolt12Settings
impl UnwindSafe for Bolt12Settings
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