struct IntervalAmount {
integer: i64,
frac: i64,
}
Fields§
§integer: i64
The integer component of the interval amount
frac: i64
The fractional component multiplied by 10^INTERVAL_PRECISION
Trait Implementations§
Source§impl Clone for IntervalAmount
impl Clone for IntervalAmount
Source§fn clone(&self) -> IntervalAmount
fn clone(&self) -> IntervalAmount
Returns a copy 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 IntervalAmount
impl Debug for IntervalAmount
Source§impl FromStr for IntervalAmount
impl FromStr for IntervalAmount
Source§impl PartialEq for IntervalAmount
impl PartialEq for IntervalAmount
impl Copy for IntervalAmount
impl StructuralPartialEq for IntervalAmount
Auto Trait Implementations§
impl Freeze for IntervalAmount
impl RefUnwindSafe for IntervalAmount
impl Send for IntervalAmount
impl Sync for IntervalAmount
impl Unpin for IntervalAmount
impl UnwindSafe for IntervalAmount
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