pub struct AgentModelSelection {
pub model: String,
pub variant: Option<String>,
}Expand description
Model + optional variant returned by provider model policies for agent tiers.
Fields§
§model: String§variant: Option<String>Trait Implementations§
Source§impl Clone for AgentModelSelection
impl Clone for AgentModelSelection
Source§fn clone(&self) -> AgentModelSelection
fn clone(&self) -> AgentModelSelection
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 AgentModelSelection
impl Debug for AgentModelSelection
Source§impl PartialEq for AgentModelSelection
impl PartialEq for AgentModelSelection
Source§fn eq(&self, other: &AgentModelSelection) -> bool
fn eq(&self, other: &AgentModelSelection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AgentModelSelection
impl StructuralPartialEq for AgentModelSelection
Auto Trait Implementations§
impl Freeze for AgentModelSelection
impl RefUnwindSafe for AgentModelSelection
impl Send for AgentModelSelection
impl Sync for AgentModelSelection
impl Unpin for AgentModelSelection
impl UnsafeUnpin for AgentModelSelection
impl UnwindSafe for AgentModelSelection
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