pub struct MarketLocation {Show 18 fields
pub meta: Bo4eMeta,
pub market_location_id: Option<String>,
pub division: Option<Division>,
pub energy_direction: Option<EnergyDirection>,
pub customer_type: Option<CustomerType>,
pub address: Option<Address>,
pub supply_start: Option<DateTime<Utc>>,
pub supply_end: Option<DateTime<Utc>>,
pub annual_consumption: Option<f64>,
pub network_operator_code: Option<String>,
pub basic_supplier_code: Option<String>,
pub metering_operator_code: Option<String>,
pub transmission_operator_code: Option<String>,
pub grid_level: Option<String>,
pub network_area: Option<String>,
pub balancing_area: Option<String>,
pub metering_location_ids: Vec<String>,
pub is_controllable_resource: Option<bool>,
}Expand description
A market location (MaLo) - the point of energy delivery/receipt.
German: Marktlokation
A market location is the central business object representing a point in the energy market where energy is delivered or received. It has an 11-digit identifier.
§Example
use bo4e_core::bo::MarketLocation;
use bo4e_core::enums::{Division, EnergyDirection};
let malo = MarketLocation {
market_location_id: Some("12345678901".to_string()),
division: Some(Division::Electricity),
energy_direction: Some(EnergyDirection::FeedOut),
..Default::default()
};Fields§
§meta: Bo4eMetaBO4E metadata
market_location_id: Option<String>Market location ID - 11 digits (Marktlokations-ID)
division: Option<Division>Energy division (Sparte)
energy_direction: Option<EnergyDirection>Energy direction (Energierichtung)
customer_type: Option<CustomerType>Customer type (Kundentyp)
address: Option<Address>Location address (Adresse)
supply_start: Option<DateTime<Utc>>Supply start date (Lieferbeginn)
supply_end: Option<DateTime<Utc>>Supply end date (Lieferende)
annual_consumption: Option<f64>Annual consumption in kWh (Jahresverbrauchsprognose)
network_operator_code: Option<String>Network operator code (Netzbetreiber-Codenummer)
basic_supplier_code: Option<String>Basic supplier code (Grundversorger-Codenummer)
metering_operator_code: Option<String>Metering point operator code (Messstellenbetreiber-Codenummer)
transmission_operator_code: Option<String>Transmission system operator code (Übertragungsnetzbetreiber-Codenummer)
grid_level: Option<String>Grid connection level (Netzebene)
network_area: Option<String>Network area (Netzgebiet)
balancing_area: Option<String>Billing balance area (Bilanzierungsgebiet)
metering_location_ids: Vec<String>Associated metering location IDs
is_controllable_resource: Option<bool>Is Controllable Resource (Steuerbare Ressource)
Trait Implementations§
Source§impl Bo4eObject for MarketLocation
impl Bo4eObject for MarketLocation
Source§fn type_name_german() -> &'static str
fn type_name_german() -> &'static str
_typ field. Read moreSource§fn type_name_english() -> &'static str
fn type_name_english() -> &'static str
Source§impl Clone for MarketLocation
impl Clone for MarketLocation
Source§fn clone(&self) -> MarketLocation
fn clone(&self) -> MarketLocation
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more