pub struct ProcessEntry {Show 14 fields
pub id: String,
pub pid: u32,
pub session_id: Option<String>,
pub provider: String,
pub model: String,
pub command: String,
pub prompt: Option<String>,
pub started_at: String,
pub status: String,
pub exit_code: Option<i32>,
pub exited_at: Option<String>,
pub root: Option<String>,
pub parent_process_id: Option<String>,
pub parent_session_id: Option<String>,
}Fields§
§id: StringUUID used as the CLI reference handle.
pid: u32OS PID of the zag wrapper process.
session_id: Option<String>Associated session ID (links to SessionEntry), if any.
provider: String§model: String§command: StringSubcommand: “run”, “exec”, “review”.
prompt: Option<String>First 100 characters of the prompt, if any.
started_at: String§status: String“running” | “exited” | “killed”
exit_code: Option<i32>§exited_at: Option<String>§root: Option<String>Project root path (for context).
parent_process_id: Option<String>Process ID of the parent zag process (if nested).
parent_session_id: Option<String>Session ID of the parent zag process (if nested).
Trait Implementations§
Source§impl Clone for ProcessEntry
impl Clone for ProcessEntry
Source§fn clone(&self) -> ProcessEntry
fn clone(&self) -> ProcessEntry
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 ProcessEntry
impl Debug for ProcessEntry
Source§impl<'de> Deserialize<'de> for ProcessEntry
impl<'de> Deserialize<'de> for ProcessEntry
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 ProcessEntry
impl RefUnwindSafe for ProcessEntry
impl Send for ProcessEntry
impl Sync for ProcessEntry
impl Unpin for ProcessEntry
impl UnsafeUnpin for ProcessEntry
impl UnwindSafe for ProcessEntry
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