pub struct PeerAgents {
pub names: Vec<String>,
pub status: BTreeMap<String, AgentState>,
pub lines: BTreeMap<String, String>,
pub providers: BTreeMap<String, String>,
pub kinds: BTreeMap<String, RuntimeKind>,
pub seats: BTreeMap<String, SeatSummary>,
pub accounts: BTreeMap<String, String>,
pub resets: BTreeMap<String, u64>,
}Expand description
What an instance’s /agentmux/reactive/agent-names answer says about its
agents.
Fields§
§names: Vec<String>§status: BTreeMap<String, AgentState>Lower-cased name → state, for listed names only.
lines: BTreeMap<String, String>Lower-cased name → summary line (backend::agent_line), for listed
names only, each cleaned again here.
providers: BTreeMap<String, String>Lower-cased name → provider id, for listed names only, and only an id
this build knows (providers::resolve_provider_alias), so a peer can’t
put free text in a row (SPEC_SWARM_REFINEMENTS_2026_10_17.md §3).
kinds: BTreeMap<String, RuntimeKind>Lower-cased name → where it runs, for listed names only, and only host or container
(RuntimeKind::parse), so a peer can’t put free text in a row.
seats: BTreeMap<String, SeatSummary>Lower-cased name → seat, for listed names only, bounded by
agent_seat::sanitize_peer_summary (SPEC_AGENT_SEATS_IN_THE_UI_2026_10_23.md §5).
accounts: BTreeMap<String, String>Lower-cased name → stable account id, for listed names only, and only one of the
form identity::stable_account makes (is_stable_id).
resets: BTreeMap<String, u64>Lower-cased name → when its usage limit lifts (unix ms), for listed names only.
Trait Implementations§
Source§impl Clone for PeerAgents
impl Clone for PeerAgents
Source§fn clone(&self) -> PeerAgents
fn clone(&self) -> PeerAgents
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PeerAgents
impl Debug for PeerAgents
Source§impl Default for PeerAgents
impl Default for PeerAgents
Source§fn default() -> PeerAgents
fn default() -> PeerAgents
impl Eq for PeerAgents
Source§impl PartialEq for PeerAgents
impl PartialEq for PeerAgents
impl StructuralPartialEq for PeerAgents
Auto Trait Implementations§
impl Freeze for PeerAgents
impl RefUnwindSafe for PeerAgents
impl Send for PeerAgents
impl Sync for PeerAgents
impl Unpin for PeerAgents
impl UnsafeUnpin for PeerAgents
impl UnwindSafe for PeerAgents
Blanket Implementations§
§impl<T> AnyEq for T
impl<T> AnyEq for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSync for T
impl<T> DowncastSync for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more