pub struct TopologyNode {
pub id: String,
pub label: String,
pub status: String,
pub capabilities: Vec<String>,
pub skills: Vec<String>,
pub last_seen: Option<String>,
}Expand description
A node in the A2A communication topology.
Represents a single agent, derived from the agent card registry.
Fields§
§id: StringStable identifier (the agent name, used by the frontend as a node id).
label: StringDisplay label.
status: StringLowercased status (e.g. “running”, “idle”, “stopped”, “starting”).
capabilities: Vec<String>Agent capabilities (e.g. [“code-review”]).
skills: Vec<String>Agent skills (e.g. [“rust”, “python”]).
last_seen: Option<String>ISO-8601 timestamp of the last observed message involving this
agent, or None if no recent activity.
Trait Implementations§
Source§impl Clone for TopologyNode
impl Clone for TopologyNode
Source§fn clone(&self) -> TopologyNode
fn clone(&self) -> TopologyNode
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 TopologyNode
impl Debug for TopologyNode
Source§impl<'de> Deserialize<'de> for TopologyNode
impl<'de> Deserialize<'de> for TopologyNode
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 TopologyNode
impl RefUnwindSafe for TopologyNode
impl Send for TopologyNode
impl Sync for TopologyNode
impl Unpin for TopologyNode
impl UnsafeUnpin for TopologyNode
impl UnwindSafe for TopologyNode
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