pub struct Item {
pub source: String,
pub id: i64,
pub time: i64,
pub org: Option<String>,
pub kind: String,
pub object_type: Option<String>,
pub object: Option<String>,
pub actor: Option<String>,
pub level: Option<String>,
pub message: Option<String>,
pub details: Value,
pub inferred: Option<Value>,
}Expand description
One row of the merged timeline: a history row or an audit row.
Fields§
§source: String§id: i64§time: i64§org: Option<String>§kind: String§object_type: Option<String>§object: Option<String>§actor: Option<String>§level: Option<String>info/warn/error for events; the outcome for audit rows.
message: Option<String>§details: Value§inferred: Option<Value>For an incus event isb likely caused: which audit row, and why it is thought so. Best effort, by time and name.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Item
Auto Trait Implementations§
impl Freeze for Item
impl RefUnwindSafe for Item
impl Send for Item
impl Sync for Item
impl Unpin for Item
impl UnsafeUnpin for Item
impl UnwindSafe for Item
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