pub struct Observation {
pub start: OffsetDateTime,
pub minutes: u16,
pub value: EurPerMwh,
pub known_at: OffsetDateTime,
pub revision: u32,
}Expand description
One value about one interval, as known from known_at.
Fields§
§start: OffsetDateTimeInterval start (UTC).
minutes: u16Interval length in minutes.
value: EurPerMwhThe value.
known_at: OffsetDateTimeFrom when this version was known.
revision: u320 for the first version, then 1, 2, …
Trait Implementations§
Source§impl Clone for Observation
impl Clone for Observation
Source§impl Debug for Observation
impl Debug for Observation
impl Eq for Observation
Source§impl PartialEq for Observation
impl PartialEq for Observation
Source§impl Serialize for Observation
impl Serialize for Observation
impl StructuralPartialEq for Observation
Auto Trait Implementations§
impl Forget for Observation
impl Freeze for Observation
impl Move for Observation
impl RefUnwindSafe for Observation
impl Send for Observation
impl Sync for Observation
impl Unpin for Observation
impl UnsafeUnpin for Observationwhere
NonZeroI32Inner: UnsafeUnpin,
impl UnwindSafe for Observation
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