pub struct Presence {
pub agent: String,
pub role: Option<String>,
pub tool: Option<String>,
pub last_active: i64,
pub alive: Alive,
pub claims: Vec<String>,
}Expand description
13a (13.3): one agent, as Mnemo::who lists it.
Fields§
§agent: StringThe agent id.
role: Option<String>Its role, if it gave one.
tool: Option<String>The tool it last wrote through (mcp, cli, …).
last_active: i64When it last wrote, in unix seconds (updated at most once a minute).
alive: AliveWhether its process is running.
claims: Vec<String>The topics it holds live claims on.
Trait Implementations§
impl Eq for Presence
impl StructuralPartialEq for Presence
Auto Trait Implementations§
impl Forget for Presence
impl Freeze for Presence
impl Move for Presence
impl RefUnwindSafe for Presence
impl Send for Presence
impl Sync for Presence
impl Unpin for Presence
impl UnsafeUnpin for Presence
impl UnwindSafe for Presence
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