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§
impl Copy for UtcRange
impl Eq for UtcRange
Source§impl Ord for UtcRange
impl Ord for UtcRange
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for UtcRange
impl PartialOrd 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 UnsafeUnpin 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