pub struct ListQuery {
limit: u8,
page: u64,
sort: Option<String>,
status: Option<String>,
search: Option<String>,
}
Fields§
§limit: u8
The number of items to retrieve per page. (default: 10)
page: u64
The page number to retrieve. (default: 1)
sort: Option<String>
The field to sort the results by. Can be one of id
, file_path
, process_status
, event_source
, created_at
, or updated_at
.
status: Option<String>
Filter the scan events by process status. Can be one of pending
, complete
, retry
, or failed
.
search: Option<String>
Filter the scan events by a search query.
Trait Implementations§
source§impl<'de> Deserialize<'de> for ListQuery
impl<'de> Deserialize<'de> for ListQuery
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
Auto Trait Implementations§
impl Freeze for ListQuery
impl RefUnwindSafe for ListQuery
impl Send for ListQuery
impl Sync for ListQuery
impl Unpin for ListQuery
impl UnwindSafe for ListQuery
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