pub enum NwcMethod {
GetInfo,
MakeInvoice,
LookupInvoice,
ListTransactions,
GetBalance,
MultiPayKeysend,
PayKeysend,
MultiPayInvoice,
PayInvoice,
}Expand description
NWC request method.
Variants§
GetInfo
MakeInvoice
LookupInvoice
ListTransactions
GetBalance
MultiPayKeysend
PayKeysend
MultiPayInvoice
PayInvoice
Trait Implementations§
Source§impl<'de> Deserialize<'de> for NwcMethod
impl<'de> Deserialize<'de> for NwcMethod
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
impl StructuralPartialEq for NwcMethod
Auto Trait Implementations§
impl Freeze for NwcMethod
impl RefUnwindSafe for NwcMethod
impl Send for NwcMethod
impl Sync for NwcMethod
impl Unpin for NwcMethod
impl UnsafeUnpin for NwcMethod
impl UnwindSafe for NwcMethod
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