pub struct ReportQuery {
pub states: Vec<String>,
pub program: Option<String>,
pub sort: Option<String>,
pub page_number: Option<u32>,
pub page_size: Option<u32>,
pub extra: Vec<(String, String)>,
}Expand description
Filters for Client::reports.
Fields§
§states: Vec<String>Restrict to these states, e.g. ["new", "triaged"].
program: Option<String>Restrict to a program handle.
sort: Option<String>Sort expression, e.g. -created_at.
page_number: Option<u32>1-based page number.
page_size: Option<u32>Page size.
extra: Vec<(String, String)>Any extra key=value pairs, passed through verbatim.
Implementations§
Trait Implementations§
Source§impl Clone for ReportQuery
impl Clone 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