pub struct ModelCatalog {
pub default: String,
pub choices: Vec<String>,
pub profiles: Vec<ModelProfileInfo>,
}Expand description
The workspace default model, the choices and the profiles.
Fields§
§default: StringThe workspace default provider/model.
choices: Vec<String>§profiles: Vec<ModelProfileInfo>Trait Implementations§
Source§impl Clone for ModelCatalog
impl Clone for ModelCatalog
Source§impl Debug for ModelCatalog
impl Debug for ModelCatalog
Source§impl<'de> Deserialize<'de> for ModelCatalog
impl<'de> Deserialize<'de> for ModelCatalog
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 ModelCatalog
impl RefUnwindSafe for ModelCatalog
impl Send for ModelCatalog
impl Sync for ModelCatalog
impl Unpin for ModelCatalog
impl UnsafeUnpin for ModelCatalog
impl UnwindSafe for ModelCatalog
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