pub struct ReportCreate {
pub captcha: Option<String>,
pub comment: Option<String>,
pub domain_id: i64,
pub domain_type: String,
pub reporter: Option<ReportCreateReporter>,
pub extra: Map<String, Value>,
}Fields§
§captcha: Option<String>§comment: Option<String>§domain_id: i64§domain_type: StringAllowed values: post, post_comment.
reporter: Option<ReportCreateReporter>§extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.
Trait Implementations§
Source§impl Clone for ReportCreate
impl Clone for ReportCreate
Source§impl Debug for ReportCreate
impl Debug for ReportCreate
Source§impl Default for ReportCreate
impl Default for ReportCreate
Source§impl<'de> Deserialize<'de> for ReportCreate
impl<'de> Deserialize<'de> for ReportCreate
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
Source§impl PartialEq for ReportCreate
impl PartialEq for ReportCreate
Source§impl Serialize for ReportCreate
impl Serialize for ReportCreate
impl StructuralPartialEq for ReportCreate
Auto Trait Implementations§
impl Freeze for ReportCreate
impl RefUnwindSafe for ReportCreate
impl Send for ReportCreate
impl Sync for ReportCreate
impl Unpin for ReportCreate
impl UnsafeUnpin for ReportCreate
impl UnwindSafe for ReportCreate
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