pub struct Period {
pub end: Timestamp,
pub start: Timestamp,
}
Fields§
§end: Timestamp
The end of the period, which must be greater than or equal to the start. This value is inclusive.
start: Timestamp
The start of the period. This value is inclusive.
Implementations§
Trait Implementations§
impl Copy for Period
Auto Trait Implementations§
impl Freeze for Period
impl RefUnwindSafe for Period
impl Send for Period
impl Sync for Period
impl Unpin for Period
impl UnwindSafe for Period
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