pub struct ContractConditions {
pub meta: Bo4eMeta,
pub description: Option<String>,
pub installment_count: Option<i32>,
pub contract_duration: Option<String>,
pub notice_period: Option<String>,
pub extension_period: Option<String>,
pub installment_cycle: Option<String>,
}Expand description
Contract conditions for contracts and tariffs.
German: Vertragskonditionen
§Example
use bo4e_core::com::ContractConditions;
let conditions = ContractConditions {
description: Some("Standard conditions for gas supply".to_string()),
installment_count: Some(12),
..Default::default()
};Fields§
§meta: Bo4eMetaBO4E metadata
description: Option<String>Free text description of conditions (Beschreibung)
installment_count: Option<i32>Number of agreed installments per year, e.g., 12 (AnzahlAbschlaege)
contract_duration: Option<String>Contract duration (Vertragslaufzeit) - ISO 8601 duration or description
notice_period: Option<String>Notice period for termination (Kündigungsfrist)
extension_period: Option<String>Automatic extension period if not terminated (Vertragsverlängerung)
installment_cycle: Option<String>Installment cycle (Abschlagszyklus)
Trait Implementations§
Source§impl Bo4eObject for ContractConditions
impl Bo4eObject for ContractConditions
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 ContractConditions
impl Clone for ContractConditions
Source§fn clone(&self) -> ContractConditions
fn clone(&self) -> ContractConditions
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 ContractConditions
impl Debug for ContractConditions
Source§impl Default for ContractConditions
impl Default for ContractConditions
Source§fn default() -> ContractConditions
fn default() -> ContractConditions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContractConditions
impl<'de> Deserialize<'de> for ContractConditions
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 ContractConditions
impl PartialEq for ContractConditions
Source§impl Serialize for ContractConditions
impl Serialize for ContractConditions
impl StructuralPartialEq for ContractConditions
Auto Trait Implementations§
impl Freeze for ContractConditions
impl RefUnwindSafe for ContractConditions
impl Send for ContractConditions
impl Sync for ContractConditions
impl Unpin for ContractConditions
impl UnwindSafe for ContractConditions
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