pub struct Agent {Show 18 fields
pub id: String,
pub name: String,
pub entity_type: AgentType,
pub provider: Provider,
pub harnesses: Vec<Harness>,
pub summary: String,
pub source_type: SourceType,
pub official_docs: Vec<String>,
pub security_notes: String,
pub last_verified: String,
pub path: String,
pub companion_skills: Vec<String>,
pub execution_tier: Option<ExecutionTier>,
pub lifecycle: Option<Lifecycle>,
pub harness_variants: HashMap<String, String>,
pub author: Option<String>,
pub version: Option<String>,
pub provider_coverage: Option<Value>,
}Expand description
A catalog agent entry.
Fields§
§id: String§name: String§entity_type: AgentType§provider: Provider§harnesses: Vec<Harness>§summary: String§source_type: SourceType§official_docs: Vec<String>§security_notes: String§last_verified: String§path: String§companion_skills: Vec<String>§execution_tier: Option<ExecutionTier>§lifecycle: Option<Lifecycle>§harness_variants: HashMap<String, String>§version: Option<String>§provider_coverage: Option<Value>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Agent
impl<'de> Deserialize<'de> for Agent
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 Agent
impl RefUnwindSafe for Agent
impl Send for Agent
impl Sync for Agent
impl Unpin for Agent
impl UnsafeUnpin for Agent
impl UnwindSafe for Agent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more