pub struct ScheduleDay {
pub date: NaiveDate,
pub lessons: Vec<Lesson>,
}Expand description
Contains information for a single day in the schedule
Fields§
§date: NaiveDateThe date of the day
lessons: Vec<Lesson>Lessons for the day Represented as a binary heap to always have them sorted
Implementations§
Trait Implementations§
Source§impl Clone for ScheduleDay
impl Clone for ScheduleDay
Source§fn clone(&self) -> ScheduleDay
fn clone(&self) -> ScheduleDay
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 moreAuto Trait Implementations§
impl Freeze for ScheduleDay
impl RefUnwindSafe for ScheduleDay
impl Send for ScheduleDay
impl Sync for ScheduleDay
impl Unpin for ScheduleDay
impl UnsafeUnpin for ScheduleDay
impl UnwindSafe for ScheduleDay
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