pub struct ModelChoice {
pub id: String,
pub label: String,
pub efforts: Vec<String>,
pub default_effort: Option<String>,
}Expand description
A model the SDK offers, with the reasoning efforts it supports.
Fields§
§id: String§label: String§efforts: Vec<String>§default_effort: Option<String>Implementations§
Source§impl ModelChoice
impl ModelChoice
Trait Implementations§
Source§impl Clone for ModelChoice
impl Clone for ModelChoice
Source§impl Debug for ModelChoice
impl Debug for ModelChoice
impl Eq for ModelChoice
Source§impl PartialEq for ModelChoice
impl PartialEq for ModelChoice
impl StructuralPartialEq for ModelChoice
Auto Trait Implementations§
impl Forget for ModelChoice
impl Freeze for ModelChoice
impl Move for ModelChoice
impl RefUnwindSafe for ModelChoice
impl Send for ModelChoicewhere
RawVecInner: Send,
impl Sync for ModelChoicewhere
RawVecInner: Sync,
impl Unpin for ModelChoice
impl UnsafeUnpin for ModelChoicewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for ModelChoicewhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.