pub struct LessonEntry {
pub id: i32,
pub date: DateTime<Utc>,
pub school_hours: Vec<i32>,
pub title: String,
pub details: Option<String>,
pub homework: Option<Homework>,
pub attachments: Option<Vec<Attachment>>,
pub attachment_number: i32,
pub uploads: Option<Vec<LessonUpload>>,
}Fields§
§id: i32§date: DateTime<Utc>§school_hours: Vec<i32>§title: String§details: Option<String>§homework: Option<Homework>§attachments: Option<Vec<Attachment>>§attachment_number: i32§uploads: Option<Vec<LessonUpload>>Trait Implementations§
Source§impl Clone for LessonEntry
impl Clone for LessonEntry
Source§fn clone(&self) -> LessonEntry
fn clone(&self) -> LessonEntry
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 LessonEntry
impl Debug for LessonEntry
Source§impl Hash for LessonEntry
impl Hash for LessonEntry
Source§impl Ord for LessonEntry
impl Ord for LessonEntry
Source§fn cmp(&self, other: &LessonEntry) -> Ordering
fn cmp(&self, other: &LessonEntry) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LessonEntry
impl PartialEq for LessonEntry
Source§impl PartialOrd for LessonEntry
impl PartialOrd for LessonEntry
impl Eq for LessonEntry
impl StructuralPartialEq for LessonEntry
Auto Trait Implementations§
impl Freeze for LessonEntry
impl RefUnwindSafe for LessonEntry
impl Send for LessonEntry
impl Sync for LessonEntry
impl Unpin for LessonEntry
impl UnwindSafe for LessonEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.