pub struct AwhPositionInput {
pub beschreibung: String,
pub anzahl: u32,
pub preis_eur: Decimal,
pub artikel_id: Option<String>,
}Expand description
One AWH action line item for GasAwhInput.
§Examples
let sperrung = AwhPositionInput {
beschreibung: "Sperrung Gaszähler".to_owned(),
anzahl: 1,
preis_eur: dec!(45.00),
artikel_id: Some("2-01-7-001".to_owned()),
};Fields§
§beschreibung: StringHuman-readable action description, e.g. "Sperrung Gaszähler".
anzahl: u32Number of executions of this action.
preis_eur: DecimalPrice per execution in EUR (from PreisblattNetznutzung).
artikel_id: Option<String>BDEW Artikel-ID from section 3.2 of the Codeliste Artikelnummern v5.6.
Standard values for Gas AWH Sperrprozesse (BK7-24-01-009 §5.4):
"2-01-7-001"— Unterbrechung der Anschlussnutzung (reguläre AZ)"2-01-7-002"— Wiederherstellung der Anschlussnutzung (reguläre AZ)"2-01-7-003"— Erfolglose Unterbrechung"2-01-7-004"— Stornierung Unterbrechungsauftrag (bis Vortag)"2-01-7-005"— Stornierung Unterbrechungsauftrag (am Sperrtag)"2-01-7-006"— Wiederherstellung außerhalb regulärer AZ
None for custom / non-standard AWH positions.
Trait Implementations§
Source§impl Clone for AwhPositionInput
impl Clone for AwhPositionInput
Source§fn clone(&self) -> AwhPositionInput
fn clone(&self) -> AwhPositionInput
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 moreAuto Trait Implementations§
impl Freeze for AwhPositionInput
impl RefUnwindSafe for AwhPositionInput
impl Send for AwhPositionInput
impl Sync for AwhPositionInput
impl Unpin for AwhPositionInput
impl UnsafeUnpin for AwhPositionInput
impl UnwindSafe for AwhPositionInput
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