pub struct ScheduleSegment {
pub primary: SchedulePrimary,
pub up_to_ms: Option<u64>,
}Expand description
One andThen segment: a primary plus its optional upTo bound.
Fields§
§primary: SchedulePrimary§up_to_ms: Option<u64>upTo bound on this segment’s cumulative natural wait, in ms.
Trait Implementations§
Source§impl Clone for ScheduleSegment
impl Clone for ScheduleSegment
Source§fn clone(&self) -> ScheduleSegment
fn clone(&self) -> ScheduleSegment
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 moreimpl Copy for ScheduleSegment
Source§impl Debug for ScheduleSegment
impl Debug for ScheduleSegment
Source§impl PartialEq for ScheduleSegment
impl PartialEq for ScheduleSegment
impl StructuralPartialEq for ScheduleSegment
Auto Trait Implementations§
impl Freeze for ScheduleSegment
impl RefUnwindSafe for ScheduleSegment
impl Send for ScheduleSegment
impl Sync for ScheduleSegment
impl Unpin for ScheduleSegment
impl UnsafeUnpin for ScheduleSegment
impl UnwindSafe for ScheduleSegment
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