pub struct HistoryQuery {Show 13 fields
pub org: Option<String>,
pub platform: bool,
pub object: Option<String>,
pub exact: bool,
pub kind: Option<String>,
pub source: Option<String>,
pub actor: Option<String>,
pub since: Option<i64>,
pub until: Option<i64>,
pub before: Option<String>,
pub limit: Option<usize>,
pub ascending: bool,
pub correlate: bool,
}Expand description
A history query. Globs are shell-style.
Fields§
§org: Option<String>One org’s rows; with platform, only host-level rows.
platform: bool§object: Option<String>A name the row is about: an instance, image, volume, stack, app,
service. Substring, or the whole name with exact. Markers (gaps,
restarts) are kept, so a timeline shows when nothing was watching.
exact: bool§kind: Option<String>Glob on the kind (instance-*, deploy.*) or the audit action.
source: Option<String>audit, controller, incus, marker; comma-separated for more
than one. All by default.
actor: Option<String>Glob on who: an incus requestor, an audit actor.
since: Option<i64>Unix milliseconds, inclusive.
until: Option<i64>Unix milliseconds, exclusive.
before: Option<String>Page cursor: the next of the previous page.
limit: Option<usize>Default 100, at most 1000.
ascending: boolOldest first (a timeline) rather than newest first.
correlate: boolLink incus instance events to the audit row that likely caused them.
Implementations§
Trait Implementations§
Source§impl Clone for HistoryQuery
impl Clone for HistoryQuery
Source§impl Debug for HistoryQuery
impl Debug for HistoryQuery
Source§impl Default for HistoryQuery
impl Default for HistoryQuery
Source§impl<'de> Deserialize<'de> for HistoryQuerywhere
HistoryQuery: Default,
impl<'de> Deserialize<'de> for HistoryQuerywhere
HistoryQuery: Default,
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 HistoryQuery
impl RefUnwindSafe for HistoryQuery
impl Send for HistoryQuery
impl Sync for HistoryQuery
impl Unpin for HistoryQuery
impl UnsafeUnpin for HistoryQuery
impl UnwindSafe for HistoryQuery
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