Struct CurrencyPairParseError
pub struct CurrencyPairParseError(pub String);Expand description
A spelling that names no currency pair.
Tuple Fields§
§0: StringTrait Implementations§
§impl Clone for CurrencyPairParseError
impl Clone for CurrencyPairParseError
§fn clone(&self) -> CurrencyPairParseError
fn clone(&self) -> CurrencyPairParseError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for CurrencyPairParseError
impl Debug for CurrencyPairParseError
§impl Display for CurrencyPairParseError
impl Display for CurrencyPairParseError
impl Eq for CurrencyPairParseError
§impl Error for CurrencyPairParseError
impl Error for CurrencyPairParseError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
§impl PartialEq for CurrencyPairParseError
impl PartialEq for CurrencyPairParseError
§fn eq(&self, other: &CurrencyPairParseError) -> bool
fn eq(&self, other: &CurrencyPairParseError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CurrencyPairParseError
Auto Trait Implementations§
impl Freeze for CurrencyPairParseError
impl RefUnwindSafe for CurrencyPairParseError
impl Send for CurrencyPairParseError
impl Sync for CurrencyPairParseError
impl Unpin for CurrencyPairParseError
impl UnsafeUnpin for CurrencyPairParseError
impl UnwindSafe for CurrencyPairParseError
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