Struct lighthouse_protocol::LampV2Metrics
source · pub struct LampV2Metrics {
pub responding: bool,
pub firmware_version: i32,
pub uptime: i32,
pub timeout: i32,
pub temperature: i32,
pub fuse_tripped: bool,
pub flashing_status: String,
}
Fields§
§responding: bool
§firmware_version: i32
§uptime: i32
§timeout: i32
§temperature: i32
§fuse_tripped: bool
§flashing_status: String
Trait Implementations§
source§impl Clone for LampV2Metrics
impl Clone for LampV2Metrics
source§fn clone(&self) -> LampV2Metrics
fn clone(&self) -> LampV2Metrics
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LampV2Metrics
impl Debug for LampV2Metrics
source§impl<'de> Deserialize<'de> for LampV2Metrics
impl<'de> Deserialize<'de> for LampV2Metrics
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
source§impl PartialEq for LampV2Metrics
impl PartialEq for LampV2Metrics
source§fn eq(&self, other: &LampV2Metrics) -> bool
fn eq(&self, other: &LampV2Metrics) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LampV2Metrics
Auto Trait Implementations§
impl Freeze for LampV2Metrics
impl RefUnwindSafe for LampV2Metrics
impl Send for LampV2Metrics
impl Sync for LampV2Metrics
impl Unpin for LampV2Metrics
impl UnwindSafe for LampV2Metrics
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