pub struct ReportQuery {
pub tenant_id: TenantId,
pub limit: Option<u32>,
pub offset: Option<u32>,
}Expand description
Query parameters for listing compliance reports.
Fields§
§tenant_id: TenantIdTenant to query reports for.
limit: Option<u32>Maximum number of results.
offset: Option<u32>Number of results to skip (for pagination).
Implementations§
Source§impl ReportQuery
impl ReportQuery
Sourcepub fn with_limit(self, limit: u32) -> Self
pub fn with_limit(self, limit: u32) -> Self
Set the result limit.
Sourcepub fn with_offset(self, offset: u32) -> Self
pub fn with_offset(self, offset: u32) -> Self
Set the offset for pagination.
Trait Implementations§
Source§impl Clone for ReportQuery
impl Clone for ReportQuery
Source§fn clone(&self) -> ReportQuery
fn clone(&self) -> ReportQuery
Returns a duplicate 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 ComposeSchema for ReportQuery
impl ComposeSchema for ReportQuery
Source§impl Debug for ReportQuery
impl Debug for ReportQuery
Auto Trait Implementations§
impl Freeze for ReportQuery
impl RefUnwindSafe for ReportQuery
impl Send for ReportQuery
impl Sync for ReportQuery
impl Unpin for ReportQuery
impl UnsafeUnpin for ReportQuery
impl UnwindSafe for ReportQuery
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