pub struct GradeComment {
pub id: i32,
pub added_by: GradeDetails,
pub grade: GradeDetails,
pub text: String,
}Expand description
A comment attached to a grade.
Fields§
§id: i32Unique comment identifier.
added_by: GradeDetailsReference to the teacher who added the comment.
grade: GradeDetailsReference to the grade this comment is attached to.
text: StringThe comment text.
Trait Implementations§
Source§impl Debug for GradeComment
impl Debug for GradeComment
Source§impl<'de> Deserialize<'de> for GradeComment
impl<'de> Deserialize<'de> for GradeComment
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 GradeComment
impl RefUnwindSafe for GradeComment
impl Send for GradeComment
impl Sync for GradeComment
impl Unpin for GradeComment
impl UnwindSafe for GradeComment
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