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