Struct invoice::AmountParseError
source · pub struct AmountParseError;
Expand description
Incorrect beneficiary format
Trait Implementations§
source§impl Clone for AmountParseError
impl Clone for AmountParseError
source§fn clone(&self) -> AmountParseError
fn clone(&self) -> AmountParseError
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 AmountParseError
impl Debug for AmountParseError
source§impl Display for AmountParseError
impl Display for AmountParseError
source§impl Error for AmountParseError
impl Error for AmountParseError
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<AmountParseError> for String
impl From<AmountParseError> for String
source§fn from(err: AmountParseError) -> Self
fn from(err: AmountParseError) -> Self
Converts to this type from the input type.
source§impl From<ParseIntError> for AmountParseError
impl From<ParseIntError> for AmountParseError
source§fn from(v: ParseIntError) -> Self
fn from(v: ParseIntError) -> Self
Converts to this type from the input type.
source§impl Ord for AmountParseError
impl Ord for AmountParseError
source§fn cmp(&self, other: &AmountParseError) -> Ordering
fn cmp(&self, other: &AmountParseError) -> 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<AmountParseError> for AmountParseError
impl PartialEq<AmountParseError> for AmountParseError
source§fn eq(&self, other: &AmountParseError) -> bool
fn eq(&self, other: &AmountParseError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<AmountParseError> for AmountParseError
impl PartialOrd<AmountParseError> for AmountParseError
source§fn partial_cmp(&self, other: &AmountParseError) -> Option<Ordering>
fn partial_cmp(&self, other: &AmountParseError) -> 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