pub struct NewRecord {
pub time: i64,
pub source: String,
pub org: Option<String>,
pub project: Option<String>,
pub kind: String,
pub object_type: Option<String>,
pub object: Option<String>,
pub objects: Vec<String>,
pub actor: Option<String>,
pub level: Option<String>,
pub message: Option<String>,
pub details: Value,
}Expand description
A row to append.
Fields§
§time: i64Unix milliseconds when it happened; 0 is now.
source: Stringcontroller, incus or marker.
org: Option<String>None: host level (platform admins).
project: Option<String>The incus project, when there is one.
kind: StringThe event’s kind (deploy.succeeded, instance-deleted,
serve.started, …).
object_type: Option<String>stack, instance, image, image-alias, storage-volume, …
object: Option<String>§objects: Vec<String>Every name the row is about (stack, service, instance), for search.
actor: Option<String>Who: an incus requestor’s username, or isb for the controller.
level: Option<String>§message: Option<String>§details: ValueTrait Implementations§
Auto Trait Implementations§
impl Freeze for NewRecord
impl RefUnwindSafe for NewRecord
impl Send for NewRecord
impl Sync for NewRecord
impl Unpin for NewRecord
impl UnsafeUnpin for NewRecord
impl UnwindSafe for NewRecord
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