pub struct AcSpec {
pub voltage: Option<f64>,
pub power: Option<f64>,
pub frequency: Option<f64>,
}Expand description
AC specifications (input or output) Voltage in V, Power in W, Frequency in Hz WARNING: Only single-phase (L1) is currently supported
Fields§
§voltage: Option<f64>§power: Option<f64>§frequency: Option<f64>Trait Implementations§
Source§impl HandleFrame for AcSpec
impl HandleFrame for AcSpec
Auto Trait Implementations§
impl Freeze for AcSpec
impl RefUnwindSafe for AcSpec
impl Send for AcSpec
impl Sync for AcSpec
impl Unpin for AcSpec
impl UnwindSafe for AcSpec
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