pub struct SleepProxy {
pub hours_since_rest_ended: Option<u32>,
}Expand description
Sleep-proxy: how long since the last >6h input-free window ended.
Fields§
§hours_since_rest_ended: Option<u32>Trait Implementations§
Source§impl Clone for SleepProxy
impl Clone for SleepProxy
Source§fn clone(&self) -> SleepProxy
fn clone(&self) -> SleepProxy
Returns a duplicate 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 SleepProxy
impl Debug for SleepProxy
Source§impl Default for SleepProxy
impl Default for SleepProxy
Source§fn default() -> SleepProxy
fn default() -> SleepProxy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SleepProxy
impl<'de> Deserialize<'de> for SleepProxy
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 SleepProxy
impl PartialEq for SleepProxy
Source§impl Serialize for SleepProxy
impl Serialize for SleepProxy
impl Copy for SleepProxy
impl StructuralPartialEq for SleepProxy
Auto Trait Implementations§
impl Freeze for SleepProxy
impl RefUnwindSafe for SleepProxy
impl Send for SleepProxy
impl Sync for SleepProxy
impl Unpin for SleepProxy
impl UnsafeUnpin for SleepProxy
impl UnwindSafe for SleepProxy
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