pub struct Period {
pub time_interval: AttrV<TimeInterval>,
pub resolution: AttrV<String>,
pub intervals: Vec<Interval>,
}Expand description
A quarter-hour delivery period used in ActivationDocument,
PlannedResourceScheduleDocument, NetworkConstraintDocument, and
Kostenblatt.
The time_interval covers one complete calendar day (UTC).
resolution is always "PT15M" (15-minute granularity), giving 92–100
intervals per day depending on DST transitions.
Fields§
§time_interval: AttrV<TimeInterval>The UTC day this period covers (yyyy-mm-ddThh:mmZ/yyyy-mm-ddThh:mmZ).
resolution: AttrV<String>Sampling resolution; always "PT15M".
intervals: Vec<Interval>Quarter-hour intervals for this period (92–100 per standard day).
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
impl StructuralPartialEq 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 UnsafeUnpin 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