pub struct ProviderInstance {
pub label: String,
pub tint: ProviderTint,
pub configured: bool,
pub credential_hint: Option<String>,
pub selection: ProviderConfig,
pub model_ids: Vec<String>,
pub reasoning_efforts: Vec<String>,
}Expand description
One durable setup of a provider. Several may share one provider.
Fields§
§label: String§tint: ProviderTint§configured: bool§credential_hint: Option<String>§selection: ProviderConfig§model_ids: Vec<String>§reasoning_efforts: Vec<String>Trait Implementations§
Source§impl Clone for ProviderInstance
impl Clone for ProviderInstance
Source§fn clone(&self) -> ProviderInstance
fn clone(&self) -> ProviderInstance
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 ProviderInstance
impl Debug for ProviderInstance
Source§impl<'de> Deserialize<'de> for ProviderInstance
impl<'de> Deserialize<'de> for ProviderInstance
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
impl Eq for ProviderInstance
Source§impl PartialEq for ProviderInstance
impl PartialEq for ProviderInstance
Source§impl Serialize for ProviderInstance
impl Serialize for ProviderInstance
impl StructuralPartialEq for ProviderInstance
Auto Trait Implementations§
impl Freeze for ProviderInstance
impl RefUnwindSafe for ProviderInstance
impl Send for ProviderInstance
impl Sync for ProviderInstance
impl Unpin for ProviderInstance
impl UnsafeUnpin for ProviderInstance
impl UnwindSafe for ProviderInstance
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