Struct follow_heating::time_util::timeslot::TimeSlot
source · pub struct TimeSlot {
start: NaiveTime,
end: NaiveTime,
}
Fields§
§start: NaiveTime
The start of the slot. If this is after the end, the time slot wraps around midnight.
end: NaiveTime
The end of the slot.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for TimeSlot
impl<'de> Deserialize<'de> for TimeSlot
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 PartialEq for TimeSlot
impl PartialEq for TimeSlot
impl StructuralPartialEq for TimeSlot
Auto Trait Implementations§
impl RefUnwindSafe for TimeSlot
impl Send for TimeSlot
impl Sync for TimeSlot
impl Unpin for TimeSlot
impl UnwindSafe for TimeSlot
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