pub struct AgentCard {
pub id: String,
pub name: String,
pub chosen: bool,
pub installed: AgentTick,
pub signed_in: AgentTick,
pub asks_first: AgentTick,
}Expand description
One agent that can make attempts, and how ready it is: installed, signed in, asking before it acts — each with its one action.
Fields§
§id: Stringagent = "<id>" in [executor].
name: StringIts name.
chosen: boolIt is the configured [executor] agent.
installed: AgentTickIts command can start.
signed_in: AgentTickIt answers a session without asking for a sign-in.
asks_first: AgentTickspeccoder can put it into a mode that asks before it acts.
Implementations§
Trait Implementations§
impl Eq for AgentCard
Source§impl JsonSchema for AgentCard
impl JsonSchema for AgentCard
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for AgentCard
Auto Trait Implementations§
impl Freeze for AgentCard
impl RefUnwindSafe for AgentCard
impl Send for AgentCard
impl Sync for AgentCard
impl Unpin for AgentCard
impl UnsafeUnpin for AgentCard
impl UnwindSafe for AgentCard
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