pub struct AgentSpec {
pub id: AgentId,
pub revision: String,
pub display_name: String,
pub detection: DetectionSpec,
pub launch: LaunchSpec,
pub expected_processes: Vec<ProcessMatcher>,
pub prompt: PromptSpec,
pub readiness: AgentReadinessSpec,
pub capabilities: AgentCapabilities,
pub verification: SpecVerification,
}Fields§
§id: AgentId§revision: StringRevision of the launch/detection contract, not the installed CLI version.
display_name: String§detection: DetectionSpec§launch: LaunchSpec§expected_processes: Vec<ProcessMatcher>§prompt: PromptSpec§readiness: AgentReadinessSpec§capabilities: AgentCapabilities§verification: SpecVerificationImplementations§
Source§impl AgentSpec
impl AgentSpec
pub fn supports_platform(&self, platform: RuntimePlatform) -> bool
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AgentSpec
impl<'de> Deserialize<'de> for AgentSpec
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 AgentSpec
impl StructuralPartialEq for AgentSpec
Auto Trait Implementations§
impl Freeze for AgentSpec
impl RefUnwindSafe for AgentSpec
impl Send for AgentSpec
impl Sync for AgentSpec
impl Unpin for AgentSpec
impl UnsafeUnpin for AgentSpec
impl UnwindSafe for AgentSpec
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