pub struct GetLogsQuery {
pub message: Option<String>,
pub levels: Option<Vec<String>>,
pub before: Option<String>,
pub after: Option<String>,
pub person_id: Option<i64>,
pub limit: Option<i64>,
}Expand description
Query parameters for GET /logs.
Fields§
§message: Option<String>Filter by text
levels: Option<Vec<String>>Filter by log level ID
before: Option<String>Filter log messages before that date. (Use DateTime-Format)
after: Option<String>Filter log messages after that date. (Use DateTime-Format)
person_id: Option<i64>Filter by person
limit: Option<i64>Number of results per page.
Trait Implementations§
Source§impl Clone for GetLogsQuery
impl Clone for GetLogsQuery
Source§impl Debug for GetLogsQuery
impl Debug for GetLogsQuery
Auto Trait Implementations§
impl Freeze for GetLogsQuery
impl RefUnwindSafe for GetLogsQuery
impl Send for GetLogsQuery
impl Sync for GetLogsQuery
impl Unpin for GetLogsQuery
impl UnsafeUnpin for GetLogsQuery
impl UnwindSafe for GetLogsQuery
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