Struct libhealth::plugins::steps::StepsPlugin
source · pub struct StepsPlugin;
Implementations§
source§impl StepsPlugin
impl StepsPlugin
Trait Implementations§
source§impl Clone for StepsPlugin
impl Clone for StepsPlugin
source§fn clone(&self) -> StepsPlugin
fn clone(&self) -> StepsPlugin
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 StepsPlugin
impl Debug for StepsPlugin
source§impl Plugin for StepsPlugin
impl Plugin for StepsPlugin
source§fn details(&self, mocked: bool) -> PluginDetails
fn details(&self, mocked: bool) -> PluginDetails
Returns a card view containing details,e.g. steps over some weeks. May be mocked via the
is-mocked
property.source§fn name(&self) -> PluginName
fn name(&self) -> PluginName
The non-localised name of the plugin, used as ID. !Must! be unique across plugins
source§fn icon_name(&self) -> &'static str
fn icon_name(&self) -> &'static str
The name of the icon that should be used for the overview row
source§fn localised_name(&self) -> String
fn localised_name(&self) -> String
The localised name of the plugin, that’s displayed to the user.
source§fn summary(&self) -> PluginSummaryRow
fn summary(&self) -> PluginSummaryRow
Returns a card view with a short overview of the data, e.g 2000/10000 steps done for the home page
source§fn overview(&self) -> PluginOverviewRow
fn overview(&self) -> PluginOverviewRow
Returns an entry for the “browse all” listbox.
Auto Trait Implementations§
impl RefUnwindSafe for StepsPlugin
impl Send for StepsPlugin
impl Sync for StepsPlugin
impl Unpin for StepsPlugin
impl UnwindSafe for StepsPlugin
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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>where
F: FnOnce(&Self) -> bool,
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>where F: FnOnce(&Self) -> bool,
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more