pub struct AgentProcess {Show 16 fields
pub pid: u32,
pub name: String,
pub vendor: String,
pub icon: String,
pub color: String,
pub cpu: f32,
pub mem_mb: f32,
pub uptime_secs: u64,
pub status: String,
pub role: ProcessRole,
pub confidence: u8,
pub host_app: Option<String>,
pub cwd: String,
pub project: String,
pub command: String,
pub match_reason: Vec<String>,
}Expand description
Represents a detected AI agent process
Fields§
§pid: u32§name: String§vendor: String§icon: String§color: String§cpu: f32§mem_mb: f32§uptime_secs: u64§status: String§role: ProcessRole§confidence: u8§host_app: Option<String>§cwd: String§project: String§command: String§match_reason: Vec<String>Trait Implementations§
Source§impl Clone for AgentProcess
impl Clone for AgentProcess
Source§fn clone(&self) -> AgentProcess
fn clone(&self) -> AgentProcess
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 AgentProcess
impl Debug for AgentProcess
Source§impl<'de> Deserialize<'de> for AgentProcess
impl<'de> Deserialize<'de> for AgentProcess
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 AgentProcess
impl RefUnwindSafe for AgentProcess
impl Send for AgentProcess
impl Sync for AgentProcess
impl Unpin for AgentProcess
impl UnsafeUnpin for AgentProcess
impl UnwindSafe for AgentProcess
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