pub struct DelegationInfo {
pub handle: String,
pub agent: String,
pub session: String,
pub depth: u32,
pub pid: u32,
pub owner_pid: u32,
pub processes: u32,
pub cwd: String,
pub started_unix_seconds: u64,
pub orphaned: bool,
pub conversation: Option<String>,
pub turn: Option<u32>,
}Expand description
One running delegated agent.
Fields§
§handle: StringThe delegation to stop.
agent: StringThe agent, such as codex.
session: StringThe SCV session that started it.
depth: u32Delegation depth: 1 for an agent SCV started directly.
pid: u32The agent’s process ID (and process group).
owner_pid: u32The SCV process that started it.
processes: u32Live processes in its group plus tagged processes outside it.
cwd: StringIts working directory.
started_unix_seconds: u64When it started.
orphaned: boolThe owning SCV process is gone; the daemon will stop it.
conversation: Option<String>The conversation this run is a turn of, and which turn.
turn: Option<u32>Which turn of that conversation.
Trait Implementations§
Source§impl Clone for DelegationInfo
impl Clone for DelegationInfo
Source§impl Debug for DelegationInfo
impl Debug for DelegationInfo
Source§impl<'de> Deserialize<'de> for DelegationInfo
impl<'de> Deserialize<'de> for DelegationInfo
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
impl Eq for DelegationInfo
Source§impl PartialEq for DelegationInfo
impl PartialEq for DelegationInfo
Source§impl Serialize for DelegationInfo
impl Serialize for DelegationInfo
impl StructuralPartialEq for DelegationInfo
Auto Trait Implementations§
impl Freeze for DelegationInfo
impl RefUnwindSafe for DelegationInfo
impl Send for DelegationInfo
impl Sync for DelegationInfo
impl Unpin for DelegationInfo
impl UnsafeUnpin for DelegationInfo
impl UnwindSafe for DelegationInfo
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