pub struct EirResult {
pub voltage_v: f64,
pub current_a: f64,
pub resistance_ohm: f64,
pub power_w: f64,
}Expand description
Result of an E-I-R (voltage-current-resistance) calculation.
Fields§
§voltage_v: f64Voltage in Volts.
current_a: f64Current in Amperes.
resistance_ohm: f64Resistance in Ohms.
power_w: f64Power in Watts (P = V × I).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EirResult
impl<'de> Deserialize<'de> for EirResult
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
impl StructuralPartialEq for EirResult
Auto Trait Implementations§
impl Freeze for EirResult
impl RefUnwindSafe for EirResult
impl Send for EirResult
impl Sync for EirResult
impl Unpin for EirResult
impl UnsafeUnpin for EirResult
impl UnwindSafe for EirResult
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