pub enum RateSide {
Currency(String),
Arg(String),
}Expand description
One side of a rate: a currency code or an argument reference.
Variants§
Currency(String)
A currency code from units.md 2.1.
Arg(String)
{"arg": name}: the value of a string argument.
Trait Implementations§
impl Eq for RateSide
impl StructuralPartialEq for RateSide
Auto Trait Implementations§
impl Freeze for RateSide
impl RefUnwindSafe for RateSide
impl Send for RateSide
impl Sync for RateSide
impl Unpin for RateSide
impl UnsafeUnpin for RateSide
impl UnwindSafe for RateSide
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