pub struct OnTime {
pub hours: u16,
pub minutes: u16,
pub seconds: u16,
}Expand description
Output-on time as reported by the device (h/m/s).
Fields§
§hours: u16§minutes: u16§seconds: u16Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OnTime
impl<'de> Deserialize<'de> for OnTime
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 Copy for OnTime
impl Eq for OnTime
impl StructuralPartialEq for OnTime
Auto Trait Implementations§
impl Freeze for OnTime
impl RefUnwindSafe for OnTime
impl Send for OnTime
impl Sync for OnTime
impl Unpin for OnTime
impl UnsafeUnpin for OnTime
impl UnwindSafe for OnTime
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