pub struct OperationLog {Show 13 fields
pub id: String,
pub agent_id: String,
pub operation_type: String,
pub started_at: Instant,
pub completed_at: Option<Instant>,
pub status: OperationLogStatus,
pub inputs: Value,
pub outputs: Option<Value>,
pub error: Option<String>,
pub child_operations: Vec<String>,
pub parent_operation: Option<String>,
pub resources_needed: Vec<String>,
pub resources_produced: Vec<String>,
}Expand description
Log entry for a tracked operation.
Fields§
§id: StringUnique operation identifier.
agent_id: StringID of the agent performing the operation.
operation_type: StringType of operation (e.g., “build”, “test”).
started_at: InstantWhen the operation started.
completed_at: Option<Instant>When the operation completed (if finished).
status: OperationLogStatusCurrent status of the operation.
inputs: ValueInput parameters for the operation.
outputs: Option<Value>Output data (if completed).
error: Option<String>Error message (if failed).
child_operations: Vec<String>IDs of child operations spawned by this one.
parent_operation: Option<String>ID of the parent operation (if this is a child).
resources_needed: Vec<String>Resources required by this operation.
resources_produced: Vec<String>Resources produced by this operation.
Implementations§
Trait Implementations§
Source§impl Clone for OperationLog
impl Clone for OperationLog
Source§fn clone(&self) -> OperationLog
fn clone(&self) -> OperationLog
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for OperationLog
impl RefUnwindSafe for OperationLog
impl Send for OperationLog
impl Sync for OperationLog
impl Unpin for OperationLog
impl UnsafeUnpin for OperationLog
impl UnwindSafe for OperationLog
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