[][src]Struct dsmr5::state::Line

pub struct Line {
    pub voltage_sags: Option<u64>,
    pub voltage_swells: Option<u64>,
    pub voltage: Option<f64>,
    pub current: Option<u64>,
    pub active_power_plus: Option<f64>,
    pub active_power_neg: Option<f64>,
}

One of three possible lines in the meter.

Fields

voltage_sags: Option<u64>voltage_swells: Option<u64>voltage: Option<f64>current: Option<u64>active_power_plus: Option<f64>active_power_neg: Option<f64>

Trait Implementations

impl Debug for Line[src]

impl Default for Line[src]

Auto Trait Implementations

impl Send for Line

impl Sync for Line

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]