pub struct Balancing {
pub meta: Bo4eMeta,
pub balance_group_id: Option<String>,
pub balance_group_name: Option<String>,
pub description: Option<String>,
pub division: Option<Division>,
pub market_area: Option<String>,
pub balance_responsible_party: Option<Box<MarketParticipant>>,
pub validity_period: Option<TimePeriod>,
pub start_date: Option<DateTime<Utc>>,
pub end_date: Option<DateTime<Utc>>,
}Expand description
Balance group data for energy market balancing.
German: Bilanzierung
§Example
use bo4e_core::bo::Balancing;
use bo4e_core::enums::Division;
let balancing = Balancing {
balance_group_id: Some("11XBALANCEGROUP".to_string()),
division: Some(Division::Electricity),
..Default::default()
};Fields§
§meta: Bo4eMetaBO4E metadata
balance_group_id: Option<String>Balance group identifier (Bilanzkreis-ID)
balance_group_name: Option<String>Balance group name (Bilanzkreisname)
description: Option<String>Description (Beschreibung)
division: Option<Division>Energy division (Sparte)
market_area: Option<String>Market area (Marktgebiet)
balance_responsible_party: Option<Box<MarketParticipant>>Balance responsible party (Bilanzkreisverantwortlicher)
validity_period: Option<TimePeriod>Validity period (Gueltigkeitszeitraum)
start_date: Option<DateTime<Utc>>Start date of balancing (Startdatum)
end_date: Option<DateTime<Utc>>End date of balancing (Enddatum)
Trait Implementations§
Source§impl Bo4eObject for Balancing
impl Bo4eObject for Balancing
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<'de> Deserialize<'de> for Balancing
impl<'de> Deserialize<'de> for Balancing
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 Balancing
Auto Trait Implementations§
impl Freeze for Balancing
impl RefUnwindSafe for Balancing
impl Send for Balancing
impl Sync for Balancing
impl Unpin for Balancing
impl UnsafeUnpin for Balancing
impl UnwindSafe for Balancing
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