pub struct RotationInfo {
pub interval: ShortFormInterval,
pub markets: Vec<ShortFormMarket>,
pub window_start: i64,
pub window_end: i64,
pub time_remaining: i64,
}Expand description
Info about a window rotation.
Fields§
§interval: ShortFormInterval§markets: Vec<ShortFormMarket>§window_start: i64§window_end: i64§time_remaining: i64Seconds remaining in this window (computed client-side at rotation time).
Trait Implementations§
Source§impl Clone for RotationInfo
impl Clone for RotationInfo
Source§fn clone(&self) -> RotationInfo
fn clone(&self) -> RotationInfo
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 moreAuto Trait Implementations§
impl Freeze for RotationInfo
impl RefUnwindSafe for RotationInfo
impl Send for RotationInfo
impl Sync for RotationInfo
impl Unpin for RotationInfo
impl UnsafeUnpin for RotationInfo
impl UnwindSafe for RotationInfo
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