pub struct Period {
pub end: Option<Timestamp>,
pub start: Option<Timestamp>,
}
Fields§
§end: Option<Timestamp>
The end date of this usage period.
All usage up to and including this point in time is included.
start: Option<Timestamp>
The start date of this usage period.
All usage after this point in time is included.
Trait Implementations§
source§impl<'de> Deserialize<'de> for Period
impl<'de> Deserialize<'de> for Period
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
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