pub struct RationalNumber {
pub custom_data: Option<CustomData>,
pub exponent: i64,
pub value: i64,
}Expand description
Part of ISO 15118-20 price schedule.
Fields§
§custom_data: Option<CustomData>§exponent: i64The exponent to base 10 (dec)
value: i64Value which shall be multiplied.
Trait Implementations§
Source§impl Clone for RationalNumber
impl Clone for RationalNumber
Source§fn clone(&self) -> RationalNumber
fn clone(&self) -> RationalNumber
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 moreSource§impl Debug for RationalNumber
impl Debug for RationalNumber
impl Eq for RationalNumber
Source§impl PartialEq for RationalNumber
impl PartialEq for RationalNumber
impl StructuralPartialEq for RationalNumber
Auto Trait Implementations§
impl Freeze for RationalNumber
impl RefUnwindSafe for RationalNumber
impl Send for RationalNumber
impl Sync for RationalNumber
impl Unpin for RationalNumber
impl UnsafeUnpin for RationalNumber
impl UnwindSafe for RationalNumber
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