pub struct MeteringPriceSheet {Show 13 fields
pub meta: Bo4eMeta,
pub designation: Option<String>,
pub description: Option<String>,
pub division: Option<Division>,
pub meter_type: Option<MeterType>,
pub price_sheet_number: Option<String>,
pub validity_period: Option<TimePeriod>,
pub valid_from: Option<DateTime<Utc>>,
pub valid_until: Option<DateTime<Utc>>,
pub metering_point_operation_price: Option<Price>,
pub reading_price: Option<Price>,
pub positions: Vec<PricePosition>,
pub operator: Option<Box<BusinessPartner>>,
}Expand description
A price sheet for metering services.
German: PreisblattMessung
§Example
use bo4e_core::bo::MeteringPriceSheet;
use bo4e_core::enums::Division;
let price_sheet = MeteringPriceSheet {
designation: Some("Messpreisblatt 2024".to_string()),
division: Some(Division::Electricity),
..Default::default()
};Fields§
§meta: Bo4eMetaBO4E metadata
designation: Option<String>Name/designation of the price sheet (Bezeichnung)
description: Option<String>Description (Beschreibung)
division: Option<Division>Energy division (Sparte)
meter_type: Option<MeterType>Type of meter this applies to (Zaehlerart)
price_sheet_number: Option<String>Price sheet number/identifier (Preisblattnummer)
validity_period: Option<TimePeriod>Validity period (Gueltigkeitszeitraum)
valid_from: Option<DateTime<Utc>>Valid from date (Gueltig ab)
valid_until: Option<DateTime<Utc>>Valid until date (Gueltig bis)
metering_point_operation_price: Option<Price>Metering point operation price (Messstellenbetrieb)
reading_price: Option<Price>Meter reading price (Ablesepreis)
positions: Vec<PricePosition>Price positions (Preispositionen)
operator: Option<Box<BusinessPartner>>Metering operator
Trait Implementations§
Source§impl Bo4eObject for MeteringPriceSheet
impl Bo4eObject for MeteringPriceSheet
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 MeteringPriceSheet
impl Clone for MeteringPriceSheet
Source§fn clone(&self) -> MeteringPriceSheet
fn clone(&self) -> MeteringPriceSheet
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 MeteringPriceSheet
impl Debug for MeteringPriceSheet
Source§impl Default for MeteringPriceSheet
impl Default for MeteringPriceSheet
Source§fn default() -> MeteringPriceSheet
fn default() -> MeteringPriceSheet
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MeteringPriceSheet
impl<'de> Deserialize<'de> for MeteringPriceSheet
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 MeteringPriceSheet
impl PartialEq for MeteringPriceSheet
Source§impl Serialize for MeteringPriceSheet
impl Serialize for MeteringPriceSheet
impl StructuralPartialEq for MeteringPriceSheet
Auto Trait Implementations§
impl Freeze for MeteringPriceSheet
impl RefUnwindSafe for MeteringPriceSheet
impl Send for MeteringPriceSheet
impl Sync for MeteringPriceSheet
impl Unpin for MeteringPriceSheet
impl UnsafeUnpin for MeteringPriceSheet
impl UnwindSafe for MeteringPriceSheet
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