pub struct OperationStatus {
pub operation_id: String,
pub agent_id: String,
pub resource_type: String,
pub scope: String,
pub started_at_secs_ago: u64,
pub last_heartbeat_secs_ago: u64,
pub is_alive: bool,
pub status: String,
pub description: String,
pub process_id: Option<u32>,
pub recent_output: Vec<String>,
}Expand description
Status of an operation for querying
Fields§
§operation_id: StringUnique operation identifier.
agent_id: StringAgent performing the operation.
resource_type: StringType of resource being used.
scope: StringScope of the operation.
started_at_secs_ago: u64Seconds since the operation started.
last_heartbeat_secs_ago: u64Seconds since the last heartbeat.
is_alive: boolWhether the operation is still alive.
status: StringCurrent status message.
description: StringHuman-readable description.
process_id: Option<u32>Attached OS process identifier, if any.
recent_output: Vec<String>Recent output lines from the operation.
Trait Implementations§
Source§impl Clone for OperationStatus
impl Clone for OperationStatus
Source§fn clone(&self) -> OperationStatus
fn clone(&self) -> OperationStatus
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 moreSource§impl Debug for OperationStatus
impl Debug for OperationStatus
Source§impl<'de> Deserialize<'de> for OperationStatus
impl<'de> Deserialize<'de> for OperationStatus
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 OperationStatus
impl RefUnwindSafe for OperationStatus
impl Send for OperationStatus
impl Sync for OperationStatus
impl Unpin for OperationStatus
impl UnsafeUnpin for OperationStatus
impl UnwindSafe for OperationStatus
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