pub struct LoadDiff {
pub bus: u32,
pub id: String,
pub kind: DiffKind,
pub active_power_demand_mw: Option<(f64, f64)>,
pub reactive_power_demand_mvar: Option<(f64, f64)>,
pub in_service: Option<(bool, bool)>,
}Expand description
Diff entry for a load. Modified fields are Some with (old, new).
Fields§
§bus: u32§id: String§kind: DiffKind§active_power_demand_mw: Option<(f64, f64)>§reactive_power_demand_mvar: Option<(f64, f64)>§in_service: Option<(bool, bool)>Trait Implementations§
Source§impl<'de> Deserialize<'de> for LoadDiff
impl<'de> Deserialize<'de> for LoadDiff
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 LoadDiff
impl RefUnwindSafe for LoadDiff
impl Send for LoadDiff
impl Sync for LoadDiff
impl Unpin for LoadDiff
impl UnsafeUnpin for LoadDiff
impl UnwindSafe for LoadDiff
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