pub struct HostRecord {
pub id: String,
pub name: String,
pub platform: String,
pub host_version: String,
pub capabilities: Capabilities,
pub default_hat_id: String,
pub workspace_roots: Vec<String>,
pub created_at: i64,
pub last_seen_at: Option<i64>,
pub revoked_at: Option<i64>,
pub mcp_isolation: Option<AgentIsolation>,
}Expand description
One paired host, as GET /api/hosts lists it.
Fields§
§id: String§name: String§platform: String§host_version: String§capabilities: CapabilitiesFrom its latest accepted hello.
default_hat_id: StringThe hat of its sessions that no path rule claims (kernel spec §5.1).
workspace_roots: Vec<String>From its latest reconciled connection (decision 7).
created_at: i64§last_seen_at: Option<i64>§revoked_at: Option<i64>§mcp_isolation: Option<AgentIsolation>Per agent, how it isolates MCP servers, from its latest accepted
hello (plan 8e decision E7); None until one is recorded.
Trait Implementations§
Source§impl Clone for HostRecord
impl Clone for HostRecord
Source§impl Debug for HostRecord
impl Debug for HostRecord
Source§impl PartialEq for HostRecord
impl PartialEq for HostRecord
impl StructuralPartialEq for HostRecord
Auto Trait Implementations§
impl Freeze for HostRecord
impl RefUnwindSafe for HostRecord
impl Send for HostRecord
impl Sync for HostRecord
impl Unpin for HostRecord
impl UnsafeUnpin for HostRecord
impl UnwindSafe for HostRecord
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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