pub struct ResourceReport {
pub id: ReportId,
pub resource_id: ResourceId,
pub report_type: ResourceReportType,
pub reporter_id: Option<Uuid>,
pub reporter_name: Option<String>,
pub reporter_email: Option<String>,
pub created_at: DateTime<Utc>,
}
Expand description
Resource report details
Fields§
§id: ReportId
Id of report
resource_id: ResourceId
Id of reported resource
report_type: ResourceReportType
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 Clone for ResourceReport
impl Clone for ResourceReport
Source§fn clone(&self) -> ResourceReport
fn clone(&self) -> ResourceReport
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 ResourceReport
impl Debug for ResourceReport
Source§impl<'de> Deserialize<'de> for ResourceReport
impl<'de> Deserialize<'de> for ResourceReport
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 ResourceReport
impl RefUnwindSafe for ResourceReport
impl Send for ResourceReport
impl Sync for ResourceReport
impl Unpin for ResourceReport
impl UnwindSafe for ResourceReport
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