pub struct RoundingInterval {
pub begin_interval: u64,
pub rounding_mod: u64,
}Expand description
Rounding interval to be applied to an interval to increase the set of points with common payouts.
Fields§
§begin_interval: u64The beggining of the interval on which to apply the associated rounding.
rounding_mod: u64The modulus to apply for the rounding.
Trait Implementations§
Source§impl Clone for RoundingInterval
impl Clone for RoundingInterval
Source§fn clone(&self) -> RoundingInterval
fn clone(&self) -> RoundingInterval
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 RoundingInterval
impl Debug for RoundingInterval
Source§impl PartialEq for RoundingInterval
impl PartialEq for RoundingInterval
Source§impl Readable for RoundingInterval
impl Readable for RoundingInterval
Source§impl Writeable for RoundingInterval
impl Writeable for RoundingInterval
impl Eq for RoundingInterval
impl StructuralPartialEq for RoundingInterval
Auto Trait Implementations§
impl Freeze for RoundingInterval
impl RefUnwindSafe for RoundingInterval
impl Send for RoundingInterval
impl Sync for RoundingInterval
impl Unpin for RoundingInterval
impl UnwindSafe for RoundingInterval
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