pub struct Levy {
pub meta: Bo4eMeta,
pub description: Option<String>,
pub value: Option<f64>,
pub currency: Option<Currency>,
pub reference_unit: Option<Unit>,
pub legal_reference: Option<String>,
pub website: Option<String>,
}Expand description
A levy such as EEG, KWK, etc.
German: Umlage
§Example
use bo4e_core::com::Levy;
let levy = Levy {
description: Some("EEG-Umlage".to_string()),
value: Some(6.756),
..Default::default()
};Fields§
§meta: Bo4eMetaBO4E metadata
description: Option<String>Description/name of the levy (Bezeichnung)
value: Option<f64>Levy value (Wert)
currency: Option<Currency>Currency (Waehrung)
reference_unit: Option<Unit>Reference unit (Bezugseinheit)
legal_reference: Option<String>Legal reference (Gesetzliche Grundlage)
website: Option<String>Website for more information (Website)
Trait Implementations§
Source§impl Bo4eObject for Levy
impl Bo4eObject for Levy
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 Levy
impl<'de> Deserialize<'de> for Levy
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 Levy
Auto Trait Implementations§
impl Freeze for Levy
impl RefUnwindSafe for Levy
impl Send for Levy
impl Sync for Levy
impl Unpin for Levy
impl UnwindSafe for Levy
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