pub struct ListReportsByUser {
pub limit: Option<u32>,
pub offset: Option<u32>,
pub category: Option<ReportCategory>,
pub object_id: Option<Uuid>,
pub reason_id: Option<Uuid>,
pub status: Option<ReportStatus>,
pub order: Option<ReportSortOrder>,
pub includes: Vec<ReferenceExpansionResource>,
/* private fields */
}
Fields§
§limit: Option<u32>
§offset: Option<u32>
§category: Option<ReportCategory>
§object_id: Option<Uuid>
§reason_id: Option<Uuid>
§status: Option<ReportStatus>
§order: Option<ReportSortOrder>
§includes: Vec<ReferenceExpansionResource>
Implementations§
Source§impl ListReportsByUser
impl ListReportsByUser
Sourcepub async fn send(&self) -> Result<Limited<UserReportsCollection>>
pub async fn send(&self) -> Result<Limited<UserReportsCollection>>
Send the request.
Trait Implementations§
Source§impl Clone for ListReportsByUser
impl Clone for ListReportsByUser
Source§fn clone(&self) -> ListReportsByUser
fn clone(&self) -> ListReportsByUser
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 ListReportsByUser
impl Debug for ListReportsByUser
Source§impl Default for ListReportsByUser
impl Default for ListReportsByUser
Source§fn default() -> ListReportsByUser
fn default() -> ListReportsByUser
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ListReportsByUser
impl !RefUnwindSafe for ListReportsByUser
impl !Send for ListReportsByUser
impl !Sync for ListReportsByUser
impl Unpin for ListReportsByUser
impl !UnwindSafe for ListReportsByUser
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