pub struct ProviderModels {
pub provider: Provider,
pub models: Vec<Model>,
}Expand description
Collection of models available from a specific provider
Fields§
§provider: ProviderThe LLM provider
models: Vec<Model>List of available models
Trait Implementations§
Source§impl Debug for ProviderModels
impl Debug for ProviderModels
Source§impl<'de> Deserialize<'de> for ProviderModels
impl<'de> Deserialize<'de> for ProviderModels
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 ProviderModels
impl RefUnwindSafe for ProviderModels
impl Send for ProviderModels
impl Sync for ProviderModels
impl Unpin for ProviderModels
impl UnwindSafe for ProviderModels
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