pub struct Proposal {
pub aae_version: String,
pub proposal_id: String,
pub agent_id: String,
pub agent_chain: Option<Vec<String>>,
pub tenant_id: String,
pub intent: String,
pub context: Context,
pub steps: Vec<Step>,
pub submitted_at: DateTime<Utc>,
}Expand description
A typed plan submitted by an agent.
Fields§
§aae_version: StringProtocol version.
proposal_id: StringULID uniquely identifying this proposal.
agent_id: StringStable identifier for the agent submitting this proposal.
agent_chain: Option<Vec<String>>v0.3, optional (G-1): ordered provenance for proposals submitted on
behalf of other agents. Last entry must equal agent_id.
tenant_id: StringTenant scope for multitenant hosts.
intent: StringSlug describing the agent’s intent.
context: ContextContext fields.
steps: Vec<Step>Steps to execute.
submitted_at: DateTime<Utc>Submission timestamp.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Proposal
impl<'de> Deserialize<'de> for Proposal
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 Proposal
impl RefUnwindSafe for Proposal
impl Send for Proposal
impl Sync for Proposal
impl Unpin for Proposal
impl UnsafeUnpin for Proposal
impl UnwindSafe for Proposal
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