pub struct LessonSchedule {
pub id: Option<i32>,
pub lesson_id: Option<i32>,
pub lesson: Option<Box<Lesson>>,
pub cabinet: Option<i32>,
pub week: Option<Option<String>>,
pub teacher_id: Option<i32>,
pub teacher: Option<Box<Teacher>>,
pub day_of_week: Option<DayOfWeek>,
pub sub_number: Option<i32>,
pub lesson_number: Option<i32>,
pub group_id: Option<i32>,
pub sub_group: Option<i32>,
}Fields§
§id: Option<i32>§lesson_id: Option<i32>§lesson: Option<Box<Lesson>>§cabinet: Option<i32>§week: Option<Option<String>>§teacher_id: Option<i32>§teacher: Option<Box<Teacher>>§day_of_week: Option<DayOfWeek>§sub_number: Option<i32>§lesson_number: Option<i32>§group_id: Option<i32>§sub_group: Option<i32>Implementations§
Source§impl LessonSchedule
impl LessonSchedule
pub fn new() -> LessonSchedule
Trait Implementations§
Source§impl Clone for LessonSchedule
impl Clone for LessonSchedule
Source§fn clone(&self) -> LessonSchedule
fn clone(&self) -> LessonSchedule
Returns a duplicate 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 LessonSchedule
impl Debug for LessonSchedule
Source§impl Default for LessonSchedule
impl Default for LessonSchedule
Source§fn default() -> LessonSchedule
fn default() -> LessonSchedule
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LessonSchedule
impl<'de> Deserialize<'de> for LessonSchedule
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 LessonSchedule
impl PartialEq for LessonSchedule
Source§impl Serialize for LessonSchedule
impl Serialize for LessonSchedule
impl StructuralPartialEq for LessonSchedule
Auto Trait Implementations§
impl Freeze for LessonSchedule
impl RefUnwindSafe for LessonSchedule
impl Send for LessonSchedule
impl Sync for LessonSchedule
impl Unpin for LessonSchedule
impl UnwindSafe for LessonSchedule
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