pub struct ListPostReports {
pub page: Option<i64>,
pub limit: Option<i64>,
pub unresolved_only: Option<bool>,
pub community_id: Option<CommunityId>,
pub post_id: Option<PostId>,
}Expand description
List post reports.
Fields§
§page: Option<i64>§limit: Option<i64>§unresolved_only: Option<bool>Only shows the unresolved reports
community_id: Option<CommunityId>if no community is given, it returns reports for all communities moderated by the auth user
post_id: Option<PostId>Trait Implementations§
Source§impl Clone for ListPostReports
impl Clone for ListPostReports
Source§fn clone(&self) -> ListPostReports
fn clone(&self) -> ListPostReports
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ListPostReports
Source§impl Debug for ListPostReports
impl Debug for ListPostReports
Source§impl Default for ListPostReports
impl Default for ListPostReports
Source§fn default() -> ListPostReports
fn default() -> ListPostReports
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ListPostReports
impl<'de> Deserialize<'de> for ListPostReports
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
impl Eq for ListPostReports
Source§impl Hash for ListPostReports
impl Hash for ListPostReports
Source§impl PartialEq for ListPostReports
impl PartialEq for ListPostReports
Source§impl Serialize for ListPostReports
impl Serialize for ListPostReports
impl StructuralPartialEq for ListPostReports
Auto Trait Implementations§
impl Freeze for ListPostReports
impl RefUnwindSafe for ListPostReports
impl Send for ListPostReports
impl Sync for ListPostReports
impl Unpin for ListPostReports
impl UnsafeUnpin for ListPostReports
impl UnwindSafe for ListPostReports
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