pub struct JigReport {
pub id: ReportId,
pub jig_id: JigId,
pub report_type: JigReportType,
pub reporter_id: Option<Uuid>,
pub reporter_name: Option<String>,
pub reporter_email: Option<String>,
pub created_at: DateTime<Utc>,
}
Expand description
Jig report details
Fields§
§id: ReportId
Id of report
jig_id: JigId
Id of reported jig
report_type: JigReportType
Type of report
reporter_id: Option<Uuid>
Optional id of reporter
reporter_name: Option<String>
Optional name for reporter
reporter_email: Option<String>
Optional email of reporter
created_at: DateTime<Utc>
When report was submitted
Trait Implementations§
Source§impl<'de> Deserialize<'de> for JigReport
impl<'de> Deserialize<'de> for JigReport
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 JigReport
impl RefUnwindSafe for JigReport
impl Send for JigReport
impl Sync for JigReport
impl Unpin for JigReport
impl UnwindSafe for JigReport
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