pub struct AgentGraphTemplate {
pub schema_version: String,
pub protocol_version: String,
pub coordinator_authority: AgentAuthorityTemplate,
pub budget: AgentGraphBudget,
pub nodes: Vec<AgentGraphNodeTemplate>,
}Expand description
Versioned graph topology that can be bound to one exact verified parent.
Fields§
§schema_version: StringPublic Proofborne schema identifier.
protocol_version: StringAgent-graph protocol identifier.
Coordinator provider/model material.
budget: AgentGraphBudgetAggregate reservation enforced before the first node starts.
nodes: Vec<AgentGraphNodeTemplate>Parent-independent graph recipes.
Implementations§
Source§impl AgentGraphTemplate
impl AgentGraphTemplate
Sourcepub fn bind(
&self,
parent_session_id: Uuid,
parent: &TaskContract,
parent_state_binding: impl Into<String>,
) -> Result<AgentGraphPlan, AgentGraphError>
pub fn bind( &self, parent_session_id: Uuid, parent: &TaskContract, parent_state_binding: impl Into<String>, ) -> Result<AgentGraphPlan, AgentGraphError>
Mints runtime-owned identities and binds this topology to one parent proof state.
Trait Implementations§
Source§impl Clone for AgentGraphTemplate
impl Clone for AgentGraphTemplate
Source§fn clone(&self) -> AgentGraphTemplate
fn clone(&self) -> AgentGraphTemplate
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AgentGraphTemplate
impl Debug for AgentGraphTemplate
Source§impl<'de> Deserialize<'de> for AgentGraphTemplate
impl<'de> Deserialize<'de> for AgentGraphTemplate
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 AgentGraphTemplate
Source§impl PartialEq for AgentGraphTemplate
impl PartialEq for AgentGraphTemplate
Source§impl Serialize for AgentGraphTemplate
impl Serialize for AgentGraphTemplate
impl StructuralPartialEq for AgentGraphTemplate
Auto Trait Implementations§
impl Freeze for AgentGraphTemplate
impl RefUnwindSafe for AgentGraphTemplate
impl Send for AgentGraphTemplate
impl Sync for AgentGraphTemplate
impl Unpin for AgentGraphTemplate
impl UnsafeUnpin for AgentGraphTemplate
impl UnwindSafe for AgentGraphTemplate
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