pub struct LoadProfile {Show 13 fields
pub meta: Bo4eMeta,
pub load_profile_id: Option<String>,
pub division: Option<Division>,
pub energy_direction: Option<EnergyDirection>,
pub measurement_type: Option<MeasurementType>,
pub unit: Option<Unit>,
pub validity_period: Option<TimePeriod>,
pub values: Vec<LoadProfileValue>,
pub market_location_id: Option<String>,
pub metering_location_id: Option<String>,
pub obis_code: Option<String>,
pub interval_minutes: Option<i32>,
pub standard_profile_type: Option<String>,
}Expand description
A load profile containing time series of power data.
German: Lastgang
Load profiles represent power measurements over time, typically in 15-minute or hourly intervals.
§Example
use bo4e_core::bo::LoadProfile;
use bo4e_core::enums::{Division, EnergyDirection};
let profile = LoadProfile {
load_profile_id: Some("LP001".to_string()),
division: Some(Division::Electricity),
energy_direction: Some(EnergyDirection::FeedOut),
..Default::default()
};Fields§
§meta: Bo4eMetaBO4E metadata
load_profile_id: Option<String>Load profile ID (Lastgang-ID)
division: Option<Division>Energy division (Sparte)
energy_direction: Option<EnergyDirection>Energy direction (Energierichtung)
measurement_type: Option<MeasurementType>Measurement type (Messart)
unit: Option<Unit>Unit of measurement (Einheit)
validity_period: Option<TimePeriod>Validity period (Gueltigkeitszeitraum)
values: Vec<LoadProfileValue>Load profile values (Lastgangwerte)
market_location_id: Option<String>Associated market location ID
metering_location_id: Option<String>Associated metering location ID
obis_code: Option<String>OBIS code
interval_minutes: Option<i32>Interval duration in minutes (Intervalllaenge)
standard_profile_type: Option<String>Standard load profile type (Standardlastprofil)
Trait Implementations§
Source§impl Bo4eObject for LoadProfile
impl Bo4eObject for LoadProfile
Source§fn type_name_german() -> &'static str
fn type_name_german() -> &'static str
Returns the German type name as used in the
_typ field. Read moreSource§fn type_name_english() -> &'static str
fn type_name_english() -> &'static str
Returns the English type name. Read more
Source§impl Clone for LoadProfile
impl Clone for LoadProfile
Source§fn clone(&self) -> LoadProfile
fn clone(&self) -> LoadProfile
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LoadProfile
impl Debug for LoadProfile
Source§impl Default for LoadProfile
impl Default for LoadProfile
Source§fn default() -> LoadProfile
fn default() -> LoadProfile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LoadProfile
impl<'de> Deserialize<'de> for LoadProfile
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
Source§impl PartialEq for LoadProfile
impl PartialEq for LoadProfile
Source§impl Serialize for LoadProfile
impl Serialize for LoadProfile
impl StructuralPartialEq for LoadProfile
Auto Trait Implementations§
impl Freeze for LoadProfile
impl RefUnwindSafe for LoadProfile
impl Send for LoadProfile
impl Sync for LoadProfile
impl Unpin for LoadProfile
impl UnwindSafe for LoadProfile
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