pub struct AgentDecl {
pub name: Ident,
pub harness: Option<Ident>,
pub delegated_to: Option<Ident>,
pub fields: Vec<AgentField>,
pub span: SourceSpan,
}Fields§
§name: Ident§harness: Option<Ident>§delegated_to: Option<Ident>agent Foo delegated to <provider> (DR-0034 Decision 2): the surface
spelling of a Delegated agent. Names the foreign provider kind directly;
agent Foo { … } without it is Managed by default.
fields: Vec<AgentField>§span: SourceSpanTrait Implementations§
impl Eq for AgentDecl
impl StructuralPartialEq for AgentDecl
Auto Trait Implementations§
impl Freeze for AgentDecl
impl RefUnwindSafe for AgentDecl
impl Send for AgentDecl
impl Sync for AgentDecl
impl Unpin for AgentDecl
impl UnsafeUnpin for AgentDecl
impl UnwindSafe for AgentDecl
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