Enum cln_rpc::model::responses::DecodeType
source · pub enum DecodeType {
BOLT12_OFFER = 0,
BOLT12_INVOICE = 1,
BOLT12_INVOICE_REQUEST = 2,
BOLT11_INVOICE = 3,
RUNE = 4,
EMERGENCY_RECOVER = 5,
}
Expand description
[‘What kind of object it decoded to.’]
Variants§
BOLT12_OFFER = 0
BOLT12_INVOICE = 1
BOLT12_INVOICE_REQUEST = 2
BOLT11_INVOICE = 3
RUNE = 4
EMERGENCY_RECOVER = 5
Trait Implementations§
source§impl Clone for DecodeType
impl Clone for DecodeType
source§fn clone(&self) -> DecodeType
fn clone(&self) -> DecodeType
Returns a copy 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 DecodeType
impl Debug for DecodeType
source§impl<'de> Deserialize<'de> for DecodeType
impl<'de> Deserialize<'de> for DecodeType
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 DecodeType
impl PartialEq for DecodeType
source§fn eq(&self, other: &DecodeType) -> bool
fn eq(&self, other: &DecodeType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for DecodeType
impl Serialize for DecodeType
source§impl ToString for DecodeType
impl ToString for DecodeType
source§impl TryFrom<i32> for DecodeType
impl TryFrom<i32> for DecodeType
impl Copy for DecodeType
impl Eq for DecodeType
impl StructuralPartialEq for DecodeType
Auto Trait Implementations§
impl Freeze for DecodeType
impl RefUnwindSafe for DecodeType
impl Send for DecodeType
impl Sync for DecodeType
impl Unpin for DecodeType
impl UnwindSafe for DecodeType
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