Enum libhealth::plugins::PluginName
source · pub enum PluginName {
Activities,
Calories,
Steps,
Weight,
}
Variants§
Trait Implementations§
source§impl AsRef<str> for PluginName
impl AsRef<str> for PluginName
source§impl Clone for PluginName
impl Clone for PluginName
source§fn clone(&self) -> PluginName
fn clone(&self) -> PluginName
Returns a copy 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 PluginName
impl Debug for PluginName
source§impl<'de> Deserialize<'de> for PluginName
impl<'de> Deserialize<'de> for PluginName
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 From<PluginName> for PluginSummaryRow
impl From<PluginName> for PluginSummaryRow
source§fn from(plugin_name: PluginName) -> Self
fn from(plugin_name: PluginName) -> Self
Converts to this type from the input type.
source§impl FromStr for PluginName
impl FromStr for PluginName
source§impl PartialEq<PluginName> for PluginName
impl PartialEq<PluginName> for PluginName
source§fn eq(&self, other: &PluginName) -> bool
fn eq(&self, other: &PluginName) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PluginName
impl Serialize for PluginName
source§impl ToPrimitive for PluginName
impl ToPrimitive for PluginName
source§fn to_i64(&self) -> Option<i64>
fn to_i64(&self) -> Option<i64>
Converts the value of
self
to an i64
. If the value cannot be
represented by an i64
, then None
is returned.source§fn to_u64(&self) -> Option<u64>
fn to_u64(&self) -> Option<u64>
Converts the value of
self
to a u64
. If the value cannot be
represented by a u64
, then None
is returned.source§fn to_isize(&self) -> Option<isize>
fn to_isize(&self) -> Option<isize>
Converts the value of
self
to an isize
. If the value cannot be
represented by an isize
, then None
is returned.source§fn to_i8(&self) -> Option<i8>
fn to_i8(&self) -> Option<i8>
Converts the value of
self
to an i8
. If the value cannot be
represented by an i8
, then None
is returned.source§fn to_i16(&self) -> Option<i16>
fn to_i16(&self) -> Option<i16>
Converts the value of
self
to an i16
. If the value cannot be
represented by an i16
, then None
is returned.source§fn to_i32(&self) -> Option<i32>
fn to_i32(&self) -> Option<i32>
Converts the value of
self
to an i32
. If the value cannot be
represented by an i32
, then None
is returned.source§fn to_i128(&self) -> Option<i128>
fn to_i128(&self) -> Option<i128>
Converts the value of
self
to an i128
. If the value cannot be
represented by an i128
(i64
under the default implementation), then
None
is returned. Read moresource§fn to_usize(&self) -> Option<usize>
fn to_usize(&self) -> Option<usize>
Converts the value of
self
to a usize
. If the value cannot be
represented by a usize
, then None
is returned.source§fn to_u8(&self) -> Option<u8>
fn to_u8(&self) -> Option<u8>
Converts the value of
self
to a u8
. If the value cannot be
represented by a u8
, then None
is returned.source§fn to_u16(&self) -> Option<u16>
fn to_u16(&self) -> Option<u16>
Converts the value of
self
to a u16
. If the value cannot be
represented by a u16
, then None
is returned.source§fn to_u32(&self) -> Option<u32>
fn to_u32(&self) -> Option<u32>
Converts the value of
self
to a u32
. If the value cannot be
represented by a u32
, then None
is returned.source§fn to_u128(&self) -> Option<u128>
fn to_u128(&self) -> Option<u128>
Converts the value of
self
to a u128
. If the value cannot be
represented by a u128
(u64
under the default implementation), then
None
is returned. Read moresource§impl ToValue for PluginName
impl ToValue for PluginName
source§impl TryFrom<&str> for PluginName
impl TryFrom<&str> for PluginName
impl Copy for PluginName
impl Eq for PluginName
impl StructuralEq for PluginName
impl StructuralPartialEq for PluginName
Auto Trait Implementations§
impl RefUnwindSafe for PluginName
impl Send for PluginName
impl Sync for PluginName
impl Unpin for PluginName
impl UnwindSafe for PluginName
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> ToSendValue for Twhere
T: Send + ToValue + ?Sized,
impl<T> ToSendValue for Twhere T: Send + ToValue + ?Sized,
source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.