Struct libhealth::plugins::calories::CaloriesPlugin
source · pub struct CaloriesPlugin;
Implementations§
Trait Implementations§
source§impl Clone for CaloriesPlugin
impl Clone for CaloriesPlugin
source§fn clone(&self) -> CaloriesPlugin
fn clone(&self) -> CaloriesPlugin
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 CaloriesPlugin
impl Debug for CaloriesPlugin
source§impl Plugin for CaloriesPlugin
impl Plugin for CaloriesPlugin
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 CaloriesPlugin
impl Send for CaloriesPlugin
impl Sync for CaloriesPlugin
impl Unpin for CaloriesPlugin
impl UnwindSafe for CaloriesPlugin
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