pub struct AgentConnection {
pub id: String,
pub name: String,
pub display_name: Option<String>,
pub agent_type: String,
pub description: Option<String>,
pub enabled: bool,
pub trust_level: String,
pub last_seen_at: Option<i64>,
pub memory_count: i64,
pub created_at: i64,
pub updated_at: i64,
}Expand description
An agent connection record.
Fields§
§id: String§name: StringCanonical technical identifier (lowercase, hyphen-case). Matches the
x-agent-name HTTP header sent by the client. This is the value used
for attribution and filtering — treat it as the primary key.
display_name: Option<String>Human-readable name shown in UI. If None, the frontend falls back to
KNOWN_CLIENT_DISPLAY_NAMES[name] and then to name itself.
agent_type: String§description: Option<String>§enabled: bool§trust_level: String§last_seen_at: Option<i64>§memory_count: i64§created_at: i64§updated_at: i64Trait Implementations§
Source§impl Clone for AgentConnection
impl Clone for AgentConnection
Source§fn clone(&self) -> AgentConnection
fn clone(&self) -> AgentConnection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AgentConnection
impl Debug for AgentConnection
Source§impl<'de> Deserialize<'de> for AgentConnection
impl<'de> Deserialize<'de> for AgentConnection
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 AgentConnection
impl RefUnwindSafe for AgentConnection
impl Send for AgentConnection
impl Sync for AgentConnection
impl Unpin for AgentConnection
impl UnsafeUnpin for AgentConnection
impl UnwindSafe for AgentConnection
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