pub struct MeteringPointStatus {
pub meta: Bo4eMeta,
pub status_timestamp: Option<DateTime<Utc>>,
pub is_active: Option<bool>,
pub status_code: Option<String>,
pub status_description: Option<String>,
pub data_transmission_active: Option<bool>,
pub installation_status: Option<String>,
}Expand description
Status information for a metering point.
German: Messstellenstatus
§Example
use bo4e_core::com::MeteringPointStatus;
use chrono::Utc;
let status = MeteringPointStatus {
status_timestamp: Some(Utc::now()),
is_active: Some(true),
..Default::default()
};Fields§
§meta: Bo4eMetaBO4E metadata
status_timestamp: Option<DateTime<Utc>>Timestamp of the status (Statuszeitpunkt)
is_active: Option<bool>Whether the metering point is active (Aktiv)
status_code: Option<String>Status code (Statuscode)
status_description: Option<String>Status description (Statusbeschreibung)
data_transmission_active: Option<bool>Whether data is being transmitted (Datenübertragung)
installation_status: Option<String>Installation status (Installationsstatus)
Trait Implementations§
Source§impl Bo4eObject for MeteringPointStatus
impl Bo4eObject for MeteringPointStatus
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 MeteringPointStatus
impl Clone for MeteringPointStatus
Source§fn clone(&self) -> MeteringPointStatus
fn clone(&self) -> MeteringPointStatus
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 MeteringPointStatus
impl Debug for MeteringPointStatus
Source§impl Default for MeteringPointStatus
impl Default for MeteringPointStatus
Source§fn default() -> MeteringPointStatus
fn default() -> MeteringPointStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MeteringPointStatus
impl<'de> Deserialize<'de> for MeteringPointStatus
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 MeteringPointStatus
impl PartialEq for MeteringPointStatus
Source§impl Serialize for MeteringPointStatus
impl Serialize for MeteringPointStatus
impl StructuralPartialEq for MeteringPointStatus
Auto Trait Implementations§
impl Freeze for MeteringPointStatus
impl RefUnwindSafe for MeteringPointStatus
impl Send for MeteringPointStatus
impl Sync for MeteringPointStatus
impl Unpin for MeteringPointStatus
impl UnsafeUnpin for MeteringPointStatus
impl UnwindSafe for MeteringPointStatus
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