pub struct CurrencyCodeError;Expand description
An error indicating that a currency code is invalid.
A valid currency code must follow the ISO 4217 standard:
- Exactly 3 characters in length.
- Consist only of uppercase ASCII letters (A–Z).
Trait Implementations§
Source§impl Clone for CurrencyCodeError
impl Clone for CurrencyCodeError
Source§fn clone(&self) -> CurrencyCodeError
fn clone(&self) -> CurrencyCodeError
Returns a duplicate 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 CurrencyCodeError
impl Debug for CurrencyCodeError
Source§impl Display for CurrencyCodeError
impl Display for CurrencyCodeError
Source§impl PartialEq for CurrencyCodeError
impl PartialEq for CurrencyCodeError
impl Eq for CurrencyCodeError
impl StructuralPartialEq for CurrencyCodeError
Auto Trait Implementations§
impl Freeze for CurrencyCodeError
impl RefUnwindSafe for CurrencyCodeError
impl Send for CurrencyCodeError
impl Sync for CurrencyCodeError
impl Unpin for CurrencyCodeError
impl UnwindSafe for CurrencyCodeError
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