pub struct Interval {
pub pos: AttrV<u8>,
pub qty: AttrV<Decimal3>,
pub reasons: Vec<Reason>,
}Expand description
A single quarter-hour (or longer) power value within a Period.
pos is 1-indexed (1–100 for a 25-hour DST day). qty is the power or
percentage value for the interval, in the unit specified by the parent
time series (MeasureUnit).
Fields§
§pos: AttrV<u8>Quarter-hour position within the day (1–100).
qty: AttrV<Decimal3>Power or percentage quantity for this interval.
reasons: Vec<Reason>Optional reason codes (0–2); present only in ActivationDocument.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Interval
impl<'de> Deserialize<'de> for Interval
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 Interval
Auto Trait Implementations§
impl Freeze for Interval
impl RefUnwindSafe for Interval
impl Send for Interval
impl Sync for Interval
impl Unpin for Interval
impl UnsafeUnpin for Interval
impl UnwindSafe for Interval
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