#[non_exhaustive]pub enum MarketRole {
LfStrom,
NbStrom,
MsbStrom,
Bkv,
Biko,
Uenb,
Esa,
LfGas,
NbGas,
MsbGas,
Mgv,
CrossCommodity,
}Expand description
The market role of a trading partner as declared in their PARTIN message.
Matches BDEW PARTIN Prüfidentifikator prefixes:
| PID | Role |
|---|---|
| 37000 | Lieferant Strom (LfStrom) |
| 37001 | Netzbetreiber Strom (NbStrom) |
| 37002 | Messstellenbetreiber Strom (MsbStrom) |
| 37003 | Bilanzkreisverantwortlicher Strom (Bkv) |
| 37004 | Bilanzkoordinator Strom (Biko) |
| 37005 | Übertragungsnetzbetreiber Strom (Uenb) |
| 37006 | Energiedienstleister/Serviceanbieter Strom (Esa) |
| 37008 | Lieferant Gas (LfGas) |
| 37009 | Netzbetreiber Gas (NbGas) |
| 37010 | Messstellenbetreiber Gas (MsbGas) |
| 37011 | Marktgebietsverantwortlicher Gas (Mgv) |
| 37012–37014 | Cross-commodity roles |
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
LfStrom
Lieferant Strom (PID 37000)
NbStrom
Netzbetreiber Strom (PID 37001)
MsbStrom
Messstellenbetreiber Strom (PID 37002)
Bkv
Bilanzkreisverantwortlicher Strom (PID 37003)
Biko
Bilanzkoordinator Strom (PID 37004)
Uenb
Übertragungsnetzbetreiber Strom (PID 37005)
Esa
Energiedienstleister / Serviceanbieter Strom (PID 37006)
LfGas
Lieferant Gas (PID 37008)
NbGas
Netzbetreiber Gas (PID 37009)
MsbGas
Messstellenbetreiber Gas (PID 37010)
Mgv
Marktgebietsverantwortlicher Gas (PID 37011)
CrossCommodity
Cross-commodity (PIDs 37012–37014)
Implementations§
Trait Implementations§
Source§impl Clone for MarketRole
impl Clone for MarketRole
Source§fn clone(&self) -> MarketRole
fn clone(&self) -> MarketRole
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MarketRole
Source§impl Debug for MarketRole
impl Debug for MarketRole
Source§impl<'de> Deserialize<'de> for MarketRole
impl<'de> Deserialize<'de> for MarketRole
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 Eq for MarketRole
Source§impl Hash for MarketRole
impl Hash for MarketRole
Source§impl PartialEq for MarketRole
impl PartialEq for MarketRole
Source§fn eq(&self, other: &MarketRole) -> bool
fn eq(&self, other: &MarketRole) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MarketRole
impl Serialize for MarketRole
impl StructuralPartialEq for MarketRole
Auto Trait Implementations§
impl Freeze for MarketRole
impl RefUnwindSafe for MarketRole
impl Send for MarketRole
impl Sync for MarketRole
impl Unpin for MarketRole
impl UnsafeUnpin for MarketRole
impl UnwindSafe for MarketRole
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