pub struct Probe {
pub id: String,
pub installed: bool,
pub binary: Option<String>,
pub version: Option<String>,
pub method: Option<String>,
pub source: Option<String>,
pub config_root: Option<String>,
pub active: bool,
pub packages: BTreeMap<String, String>,
}Expand description
What’s installed on this machine for one profile.
Fields§
§id: String§installed: bool§binary: Option<String>§version: Option<String>§method: Option<String>Detected install method (npm, brew-cask, script, …).
source: Option<String>Reproducible source spec, e.g. npm:@openai/codex@0.51.0.
config_root: Option<String>§active: bool§packages: BTreeMap<String, String>Installed versions of the profile’s packages (code harnesses).
Trait Implementations§
Source§impl Serialize for Probe
impl Serialize for Probe
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for Probe
impl RefUnwindSafe for Probe
impl Send for Probe
impl Sync for Probe
impl Unpin for Probe
impl UnsafeUnpin for Probe
impl UnwindSafe for Probe
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