pub struct ProviderModelsStatus {
pub provider_id: String,
pub provider_label: String,
pub configured: bool,
pub models: Vec<ModelInfo>,
}Expand description
Provider models with configuration status (returned by API)
Fields§
§provider_id: StringProvider identifier
provider_label: StringHuman-readable provider name
configured: boolWhether the provider’s API key is configured
models: Vec<ModelInfo>Available models for this provider
Trait Implementations§
Source§impl Clone for ProviderModelsStatus
impl Clone for ProviderModelsStatus
Source§fn clone(&self) -> ProviderModelsStatus
fn clone(&self) -> ProviderModelsStatus
Returns a duplicate of the value. Read more
1.0.0 · 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 ProviderModelsStatus
impl Debug for ProviderModelsStatus
Source§impl<'de> Deserialize<'de> for ProviderModelsStatus
impl<'de> Deserialize<'de> for ProviderModelsStatus
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 ProviderModelsStatus
impl RefUnwindSafe for ProviderModelsStatus
impl Send for ProviderModelsStatus
impl Sync for ProviderModelsStatus
impl Unpin for ProviderModelsStatus
impl UnsafeUnpin for ProviderModelsStatus
impl UnwindSafe for ProviderModelsStatus
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