pub struct ActiveHoursConfig {
pub start: String,
pub end: String,
}Expand description
Active hours window for the heartbit pulse.
Fields§
§start: StringStart time in “HH:MM” format (24-hour).
end: StringEnd time in “HH:MM” format (24-hour).
Implementations§
Trait Implementations§
Source§impl Clone for ActiveHoursConfig
impl Clone for ActiveHoursConfig
Source§fn clone(&self) -> ActiveHoursConfig
fn clone(&self) -> ActiveHoursConfig
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 moreSource§impl Debug for ActiveHoursConfig
impl Debug for ActiveHoursConfig
Source§impl<'de> Deserialize<'de> for ActiveHoursConfig
impl<'de> Deserialize<'de> for ActiveHoursConfig
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
Auto Trait Implementations§
impl Freeze for ActiveHoursConfig
impl RefUnwindSafe for ActiveHoursConfig
impl Send for ActiveHoursConfig
impl Sync for ActiveHoursConfig
impl Unpin for ActiveHoursConfig
impl UnsafeUnpin for ActiveHoursConfig
impl UnwindSafe for ActiveHoursConfig
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