pub struct AgentEntry {
pub name: String,
pub id: String,
pub transport: String,
pub endpoint: String,
pub capabilities: Vec<String>,
pub registered_at: u64,
pub last_seen: u64,
}Expand description
A single registered agent.
Fields§
§name: String§id: StringUUID or cmux surface ID.
transport: StringOne of: cmux, http, file, stdio.
endpoint: StringSurface ID for cmux, URL for http, mailbox path for file.
capabilities: Vec<String>Optional tags like ["code","review","search"].
registered_at: u64Unix epoch milliseconds when the agent first registered.
last_seen: u64Unix epoch milliseconds, updated by touch.
Trait Implementations§
Source§impl Clone for AgentEntry
impl Clone for AgentEntry
Source§fn clone(&self) -> AgentEntry
fn clone(&self) -> AgentEntry
Returns a duplicate of the value. Read more
1.0.0 · 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 AgentEntry
impl Debug for AgentEntry
Source§impl<'de> Deserialize<'de> for AgentEntry
impl<'de> Deserialize<'de> for AgentEntry
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 AgentEntry
impl RefUnwindSafe for AgentEntry
impl Send for AgentEntry
impl Sync for AgentEntry
impl Unpin for AgentEntry
impl UnsafeUnpin for AgentEntry
impl UnwindSafe for AgentEntry
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