pub struct AgentEntry {
pub pid: u32,
pub title: String,
pub action: String,
pub started_at: i64,
pub log_path: Option<String>,
pub finished_at: Option<i64>,
pub exit_code: Option<i32>,
}Expand description
A persisted agent entry in the agents.json file.
Fields§
§pid: u32§title: String§action: String§started_at: i64§log_path: Option<String>§finished_at: Option<i64>Set when the agent completes.
exit_code: Option<i32>Exit code on completion.
Trait Implementations§
Source§impl Clone for AgentEntry
impl Clone for AgentEntry
Source§fn clone(&self) -> AgentEntry
fn clone(&self) -> AgentEntry
Returns a duplicate of the value. Read more
1.0.0 · 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 AgentEntry
impl Debug for AgentEntry
Source§impl<'de> Deserialize<'de> for AgentEntry
impl<'de> Deserialize<'de> for AgentEntry
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 AgentEntry
impl RefUnwindSafe for AgentEntry
impl Send for AgentEntry
impl Sync for AgentEntry
impl Unpin for AgentEntry
impl UnsafeUnpin for AgentEntry
impl UnwindSafe for AgentEntry
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