pub struct TopologyEdge {
pub from: String,
pub to: String,
pub message_count_5m: u32,
pub last_kind: String,
}Expand description
An edge in the A2A communication topology.
Aggregates messages between a pair of agents over a recent
time window. The last_kind is the type of the most recent
message along this edge — useful for color-coding the edge.
Fields§
§from: StringSource agent identifier (matches TopologyNode.id).
to: StringTarget agent identifier (matches TopologyNode.id).
message_count_5m: u32Number of messages between from and to in the window.
last_kind: StringType of the most recent message along this edge.
Trait Implementations§
Source§impl Clone for TopologyEdge
impl Clone for TopologyEdge
Source§fn clone(&self) -> TopologyEdge
fn clone(&self) -> TopologyEdge
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 TopologyEdge
impl Debug for TopologyEdge
Source§impl<'de> Deserialize<'de> for TopologyEdge
impl<'de> Deserialize<'de> for TopologyEdge
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 TopologyEdge
impl RefUnwindSafe for TopologyEdge
impl Send for TopologyEdge
impl Sync for TopologyEdge
impl Unpin for TopologyEdge
impl UnsafeUnpin for TopologyEdge
impl UnwindSafe for TopologyEdge
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