pub struct ProviderDescriptor {
pub id: String,
pub name: String,
pub description: Option<String>,
pub auth_type: ProviderAuthType,
pub auth_label: Option<String>,
pub authenticated: bool,
pub auth_detail: Option<String>,
pub recommended: bool,
pub sort_order: i32,
pub capabilities: InferenceCapabilities,
pub models: Vec<ModelDescriptor>,
}Fields§
§id: String§name: String§description: Option<String>§auth_type: ProviderAuthType§auth_label: Option<String>§authenticated: bool§auth_detail: Option<String>§recommended: bool§sort_order: i32§capabilities: InferenceCapabilities§models: Vec<ModelDescriptor>Trait Implementations§
Source§impl Clone for ProviderDescriptor
impl Clone for ProviderDescriptor
Source§fn clone(&self) -> ProviderDescriptor
fn clone(&self) -> ProviderDescriptor
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 ProviderDescriptor
impl Debug for ProviderDescriptor
Source§impl<'de> Deserialize<'de> for ProviderDescriptor
impl<'de> Deserialize<'de> for ProviderDescriptor
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 ProviderDescriptor
impl RefUnwindSafe for ProviderDescriptor
impl Send for ProviderDescriptor
impl Sync for ProviderDescriptor
impl Unpin for ProviderDescriptor
impl UnsafeUnpin for ProviderDescriptor
impl UnwindSafe for ProviderDescriptor
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