pub enum PublicMomentType {
Breathing,
Meditation,
Nap,
Relaxation,
Rest,
BodyStatus,
}Expand description
Possible Moment types.
JSON schema
{
"title": "PublicMomentType",
"description": "Possible Moment types.",
"type": "string",
"enum": [
"breathing",
"meditation",
"nap",
"relaxation",
"rest",
"body_status"
]
}Variants§
Trait Implementations§
Source§impl Clone for PublicMomentType
impl Clone for PublicMomentType
Source§fn clone(&self) -> PublicMomentType
fn clone(&self) -> PublicMomentType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PublicMomentType
Source§impl Debug for PublicMomentType
impl Debug for PublicMomentType
Source§impl<'de> Deserialize<'de> for PublicMomentType
impl<'de> Deserialize<'de> for PublicMomentType
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 Display for PublicMomentType
impl Display for PublicMomentType
impl Eq for PublicMomentType
Source§impl FromStr for PublicMomentType
impl FromStr for PublicMomentType
Source§impl Hash for PublicMomentType
impl Hash for PublicMomentType
Source§impl Ord for PublicMomentType
impl Ord for PublicMomentType
Source§fn cmp(&self, other: &PublicMomentType) -> Ordering
fn cmp(&self, other: &PublicMomentType) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PublicMomentType
impl PartialEq for PublicMomentType
Source§impl PartialOrd for PublicMomentType
impl PartialOrd for PublicMomentType
Source§impl Serialize for PublicMomentType
impl Serialize for PublicMomentType
impl StructuralPartialEq for PublicMomentType
Source§impl TryFrom<&String> for PublicMomentType
impl TryFrom<&String> for PublicMomentType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for PublicMomentType
impl TryFrom<&str> for PublicMomentType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for PublicMomentType
impl TryFrom<String> for PublicMomentType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for PublicMomentType
impl RefUnwindSafe for PublicMomentType
impl Send for PublicMomentType
impl Sync for PublicMomentType
impl Unpin for PublicMomentType
impl UnsafeUnpin for PublicMomentType
impl UnwindSafe for PublicMomentType
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