pub struct ReportRequest {
pub id: Option<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: Option<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 ReportRequest
impl Clone for ReportRequest
Source§fn clone(&self) -> ReportRequest
fn clone(&self) -> ReportRequest
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 ReportRequest
impl Debug for ReportRequest
Source§impl<'de> Deserialize<'de> for ReportRequest
impl<'de> Deserialize<'de> for ReportRequest
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 ReportRequest
impl RefUnwindSafe for ReportRequest
impl Send for ReportRequest
impl Sync for ReportRequest
impl Unpin for ReportRequest
impl UnwindSafe for ReportRequest
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