pub enum WkBackgroundMode {
WorkoutProcessing,
SelfCare,
Mindfulness,
PhysicalTherapy,
Alarm,
}Expand description
WK Background Mode
Variants§
WorkoutProcessing
Allows an active workout session to run in the background.
SelfCare
Enables extended runtime sessions for brief activities focusing on health or emotional well-being.
Mindfulness
Enables extended runtime sessions for silent meditation.
PhysicalTherapy
Enables extended runtime sessions for stretching, strengthening, or range-of-motion exercises.
Alarm
Enables extended runtime sessions for smart alarms.
Trait Implementations§
Source§impl Clone for WkBackgroundMode
impl Clone for WkBackgroundMode
Source§fn clone(&self) -> WkBackgroundMode
fn clone(&self) -> WkBackgroundMode
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 WkBackgroundMode
impl Debug for WkBackgroundMode
Source§impl<'de> Deserialize<'de> for WkBackgroundMode
impl<'de> Deserialize<'de> for WkBackgroundMode
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 WkBackgroundMode
impl PartialEq for WkBackgroundMode
Source§impl Serialize for WkBackgroundMode
impl Serialize for WkBackgroundMode
impl Eq for WkBackgroundMode
impl StructuralPartialEq for WkBackgroundMode
Auto Trait Implementations§
impl Freeze for WkBackgroundMode
impl RefUnwindSafe for WkBackgroundMode
impl Send for WkBackgroundMode
impl Sync for WkBackgroundMode
impl Unpin for WkBackgroundMode
impl UnwindSafe for WkBackgroundMode
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.