pub struct UpsStatus {
pub input_voltage: f64,
pub input_fault_voltage: f64,
pub output_voltage: f64,
pub output_current: f64,
pub input_frequency: f64,
pub battery_voltage: f64,
pub temperature: f64,
}Expand description
Structure representing the UPS status values
Fields§
§input_voltage: f64§input_fault_voltage: f64§output_voltage: f64§output_current: f64§input_frequency: f64§battery_voltage: f64§temperature: f64Trait Implementations§
Auto Trait Implementations§
impl Freeze for UpsStatus
impl RefUnwindSafe for UpsStatus
impl Send for UpsStatus
impl Sync for UpsStatus
impl Unpin for UpsStatus
impl UnwindSafe for UpsStatus
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