pub struct TimeRange {
pub range: Range<ExtendedTime>,
pub kind: RuleKind,
pub comments: UniqueSortedVec<Arc<str>>,
}Expand description
An period of time in a schedule annotated with a state and comments.
Fields§
§range: Range<ExtendedTime>Active period for this range
kind: RuleKindState of the schedule while this period is active
comments: UniqueSortedVec<Arc<str>>Comments raised while this period is active
Implementations§
Trait Implementations§
impl Eq for TimeRange
impl StructuralPartialEq for TimeRange
Auto Trait Implementations§
impl Freeze for TimeRange
impl RefUnwindSafe for TimeRange
impl Send for TimeRange
impl Sync for TimeRange
impl Unpin for TimeRange
impl UnwindSafe for TimeRange
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