pub struct ClockRange { /* private fields */ }Expand description
An inclusive clock selection. A single registration slot has identical endpoints.
Implementations§
Source§impl ClockRange
impl ClockRange
Sourcepub fn new(from: DateTime, to: DateTime) -> Result<Self, ClockError>
pub fn new(from: DateTime, to: DateTime) -> Result<Self, ClockError>
Select by concrete meter clocks, retaining their civil fields and UTC deviations on the wire.
Trait Implementations§
Source§impl Clone for ClockRange
impl Clone for ClockRange
impl Copy for ClockRange
Source§impl Debug for ClockRange
impl Debug for ClockRange
impl Eq for ClockRange
Source§impl PartialEq for ClockRange
impl PartialEq for ClockRange
impl StructuralPartialEq for ClockRange
Auto Trait Implementations§
impl Freeze for ClockRange
impl RefUnwindSafe for ClockRange
impl Send for ClockRange
impl Sync for ClockRange
impl Unpin for ClockRange
impl UnsafeUnpin for ClockRange
impl UnwindSafe for ClockRange
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