pub struct Voltages {
pub name: String,
pub physical_context: Option<String>,
pub reading_volts: Option<f64>,
pub lower_threshold_critical: Option<f64>,
pub upper_threshold_critical: Option<f64>,
pub status: ResourceStatus,
}Fields§
§name: String§physical_context: Option<String>§reading_volts: Option<f64>§lower_threshold_critical: Option<f64>§upper_threshold_critical: Option<f64>§status: ResourceStatusTrait Implementations§
Source§impl<'de> Deserialize<'de> for Voltages
impl<'de> Deserialize<'de> for Voltages
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 Voltages
impl RefUnwindSafe for Voltages
impl Send for Voltages
impl Sync for Voltages
impl Unpin for Voltages
impl UnsafeUnpin for Voltages
impl UnwindSafe for Voltages
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