Struct rive_models::report::Report
source · pub struct Report {
pub id: String,
pub author_id: String,
pub content: ReportedContent,
pub additional_context: String,
pub status: ReportStatus,
pub notes: String,
}Expand description
User-generated platform moderation report.
Fields§
§id: StringUnique Id
Id of the user creating this report
content: ReportedContentReported content
additional_context: StringAdditional report context
status: ReportStatusStatus of the report
notes: StringAdditional notes included on the report
Trait Implementations§
source§impl<'de> Deserialize<'de> for Report
impl<'de> Deserialize<'de> for Report
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 RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnwindSafe for Report
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