Struct invoice::NotRgbInvoice
source · pub struct NotRgbInvoice;
Expand description
Error when an RGB-only operation is attempted on a non-RGB invoice.
Trait Implementations§
source§impl Clone for NotRgbInvoice
impl Clone for NotRgbInvoice
source§fn clone(&self) -> NotRgbInvoice
fn clone(&self) -> NotRgbInvoice
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 NotRgbInvoice
impl Debug for NotRgbInvoice
source§impl Display for NotRgbInvoice
impl Display for NotRgbInvoice
source§impl Error for NotRgbInvoice
impl Error for NotRgbInvoice
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<NotRgbInvoice> for String
impl From<NotRgbInvoice> for String
source§fn from(err: NotRgbInvoice) -> Self
fn from(err: NotRgbInvoice) -> Self
Converts to this type from the input type.
source§impl Hash for NotRgbInvoice
impl Hash for NotRgbInvoice
source§impl Ord for NotRgbInvoice
impl Ord for NotRgbInvoice
source§fn cmp(&self, other: &NotRgbInvoice) -> Ordering
fn cmp(&self, other: &NotRgbInvoice) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<NotRgbInvoice> for NotRgbInvoice
impl PartialEq<NotRgbInvoice> for NotRgbInvoice
source§fn eq(&self, other: &NotRgbInvoice) -> bool
fn eq(&self, other: &NotRgbInvoice) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<NotRgbInvoice> for NotRgbInvoice
impl PartialOrd<NotRgbInvoice> for NotRgbInvoice
source§fn partial_cmp(&self, other: &NotRgbInvoice) -> Option<Ordering>
fn partial_cmp(&self, other: &NotRgbInvoice) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more