pub struct AgentInfo {
pub id: String,
pub name: Option<String>,
pub description: Option<String>,
}Expand description
The identity of the agent a SessionContext belongs to.
Fields§
§id: StringThe agent’s id.
name: Option<String>The agent’s name, if it has one.
description: Option<String>The agent’s description, if it has one.
Trait Implementations§
impl Eq for AgentInfo
impl StructuralPartialEq for AgentInfo
Auto Trait Implementations§
impl Freeze for AgentInfo
impl RefUnwindSafe for AgentInfo
impl Send for AgentInfo
impl Sync for AgentInfo
impl Unpin for AgentInfo
impl UnsafeUnpin for AgentInfo
impl UnwindSafe for AgentInfo
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