pub struct SystemIndex {
pub agent_ids: DashSet<String>,
pub component_paths: DashMap<String, (String, [u8; 32])>,
pub model_paths: DashMap<String, Version>,
pub documentation_links: DashMap<String, (LinkStatus, [u8; 32])>,
pub last_updated: AtomicU64,
pub version: AtomicU32,
pub rust_metrics: DashMap<String, RustCodeMetrics>,
}Expand description
System-wide index of resources and components
Fields§
§agent_ids: DashSet<String>Available agent IDs
component_paths: DashMap<String, (String, [u8; 32])>Available component paths with content hash
model_paths: DashMap<String, Version>Available model paths with versioning
documentation_links: DashMap<String, (LinkStatus, [u8; 32])>Documentation links with hash verification
last_updated: AtomicU64Last update timestamp (nanoseconds since epoch)
version: AtomicU32Version of the index
rust_metrics: DashMap<String, RustCodeMetrics>Rust-specific metrics
Trait Implementations§
Source§impl Debug for SystemIndex
impl Debug for SystemIndex
Auto Trait Implementations§
impl !Freeze for SystemIndex
impl !RefUnwindSafe for SystemIndex
impl Send for SystemIndex
impl Sync for SystemIndex
impl Unpin for SystemIndex
impl UnwindSafe for SystemIndex
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> 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>
Converts
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>
Converts
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