pub struct ReportResponse {
pub id: Uuid,
pub org_id: Uuid,
pub template_id: Uuid,
pub student_id: Uuid,
pub reporter: Uuid,
pub rubrics: Vec<RubricResponse>,
pub status: ReportStatus,
pub term_id: Uuid,
pub term_type: TermType,
pub path: Option<String>,
}
Fields§
§id: Uuid
§org_id: Uuid
§template_id: Uuid
§student_id: Uuid
§reporter: Uuid
§rubrics: Vec<RubricResponse>
§status: ReportStatus
§term_id: Uuid
§term_type: TermType
§path: Option<String>
Trait Implementations§
Source§impl Clone for ReportResponse
impl Clone for ReportResponse
Source§fn clone(&self) -> ReportResponse
fn clone(&self) -> ReportResponse
Returns a copy 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 ReportResponse
impl Debug for ReportResponse
Source§impl<'de> Deserialize<'de> for ReportResponse
impl<'de> Deserialize<'de> for ReportResponse
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 ReportResponse
impl RefUnwindSafe for ReportResponse
impl Send for ReportResponse
impl Sync for ReportResponse
impl Unpin for ReportResponse
impl UnwindSafe for ReportResponse
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<T> IntoSql for T
impl<T> IntoSql for T
Source§fn into_sql<T>(self) -> Self::Expressionwhere
Self: Sized + AsExpression<T>,
fn into_sql<T>(self) -> Self::Expressionwhere
Self: Sized + AsExpression<T>,
Convert
self
to an expression for Diesel’s query builder. Read moreSource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
Convert
&self
to an expression for Diesel’s query builder. Read more