pub enum UtcRange {
Empty,
From(UtcTime),
FromTo(UtcTime, UtcTime),
To(UtcTime),
}Expand description
Absolute Time (UTC) Time Range (RFC 7826 section 4.4.3).
Variants§
Empty
Empty range.
From(UtcTime)
Range starting at a specific time.
FromTo(UtcTime, UtcTime)
Range from a specific time to another.
To(UtcTime)
Range ending at a specific time.
Trait Implementations§
Source§impl Ord for UtcRange
impl Ord for UtcRange
Source§impl PartialOrd for UtcRange
impl PartialOrd for UtcRange
impl Copy for UtcRange
impl Eq for UtcRange
impl StructuralPartialEq for UtcRange
Auto Trait Implementations§
impl Freeze for UtcRange
impl RefUnwindSafe for UtcRange
impl Send for UtcRange
impl Sync for UtcRange
impl Unpin for UtcRange
impl UnwindSafe for UtcRange
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