pub struct Currency {
pub code: Option<&'static str>,
pub name: Option<&'static str>,
pub symbol: Option<&'static str>,
}
Expand description
Represents a Currency with ISO 4217 code.
Fields§
§code: Option<&'static str>
ISO 4217 currency code
name: Option<&'static str>
Name of the currency in english
symbol: Option<&'static str>
Symbol of the currency
Trait Implementations§
impl Copy for Currency
impl Eq for Currency
impl StructuralPartialEq for Currency
Auto Trait Implementations§
impl Freeze for Currency
impl RefUnwindSafe for Currency
impl Send for Currency
impl Sync for Currency
impl Unpin for Currency
impl UnwindSafe for Currency
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