pub struct AgentSlot {
pub active: bool,
pub capabilities: AgentCapabilities,
pub modes: Vec<Mode>,
pub current_mode: Option<String>,
pub models: Vec<Mode>,
pub current_model: Option<String>,
pub commands: Vec<AgentCommand>,
pub usage: Option<UsageUpdate>,
}Fields§
§active: bool§capabilities: AgentCapabilities§modes: Vec<Mode>§current_mode: Option<String>§models: Vec<Mode>§current_model: Option<String>§commands: Vec<AgentCommand>§usage: Option<UsageUpdate>Trait Implementations§
Source§impl<'de> Deserialize<'de> for AgentSlot
impl<'de> Deserialize<'de> for AgentSlot
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
impl Eq for AgentSlot
impl StructuralPartialEq for AgentSlot
Auto Trait Implementations§
impl Freeze for AgentSlot
impl RefUnwindSafe for AgentSlot
impl Send for AgentSlot
impl Sync for AgentSlot
impl Unpin for AgentSlot
impl UnsafeUnpin for AgentSlot
impl UnwindSafe for AgentSlot
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