pub struct AgentGraph {
pub id: Uuid,
pub name: String,
pub description: Option<String>,
pub nodes: Vec<AgentNode>,
pub edges: Vec<GraphEdge>,
}Expand description
A directed acyclic graph of agents.
Fields§
§id: Uuid§name: String§description: Option<String>§nodes: Vec<AgentNode>§edges: Vec<GraphEdge>Implementations§
Source§impl AgentGraph
impl AgentGraph
Trait Implementations§
Source§impl Clone for AgentGraph
impl Clone for AgentGraph
Source§fn clone(&self) -> AgentGraph
fn clone(&self) -> AgentGraph
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 AgentGraph
impl Debug for AgentGraph
Source§impl<'de> Deserialize<'de> for AgentGraph
impl<'de> Deserialize<'de> for AgentGraph
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 AgentGraph
impl RefUnwindSafe for AgentGraph
impl Send for AgentGraph
impl Sync for AgentGraph
impl Unpin for AgentGraph
impl UnsafeUnpin for AgentGraph
impl UnwindSafe for AgentGraph
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