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>,
}
Expand description
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§
source§impl<'de> Deserialize<'de> for Line
impl<'de> Deserialize<'de> for Line
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
Auto Trait Implementations§
impl Freeze for Line
impl RefUnwindSafe for Line
impl Send for Line
impl Sync for Line
impl Unpin for Line
impl UnwindSafe for Line
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