pub enum BreakKind {
Micro,
Long,
Sleep,
}Expand description
Which kind of break a scheduled event represents.
Micro is the short eye-rest prompt, Long is the longer movement
break, Sleep is the bedtime reminder fired inside the configured
nighttime window.
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BreakKind
impl<'de> Deserialize<'de> for BreakKind
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 BreakKind
impl Eq for BreakKind
impl StructuralPartialEq for BreakKind
Auto Trait Implementations§
impl Freeze for BreakKind
impl RefUnwindSafe for BreakKind
impl Send for BreakKind
impl Sync for BreakKind
impl Unpin for BreakKind
impl UnsafeUnpin for BreakKind
impl UnwindSafe for BreakKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
impl<'de, D, R> CommandArg<'de, R> for Dwhere
D: Deserialize<'de>,
R: Runtime,
§fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
fn from_command(command: CommandItem<'de, R>) -> Result<D, InvokeError>
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.