pub struct ProviderEndpointV2 {
pub base_url: String,
pub enabled: bool,
pub priority: u32,
pub tags: BTreeMap<String, String>,
pub supported_models: BTreeMap<String, bool>,
pub model_mapping: BTreeMap<String, String>,
}Fields§
§base_url: String§enabled: bool§priority: u32§supported_models: BTreeMap<String, bool>§model_mapping: BTreeMap<String, String>Trait Implementations§
Source§impl Clone for ProviderEndpointV2
impl Clone for ProviderEndpointV2
Source§fn clone(&self) -> ProviderEndpointV2
fn clone(&self) -> ProviderEndpointV2
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 ProviderEndpointV2
impl Debug for ProviderEndpointV2
Source§impl<'de> Deserialize<'de> for ProviderEndpointV2
impl<'de> Deserialize<'de> for ProviderEndpointV2
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 ProviderEndpointV2
impl RefUnwindSafe for ProviderEndpointV2
impl Send for ProviderEndpointV2
impl Sync for ProviderEndpointV2
impl Unpin for ProviderEndpointV2
impl UnsafeUnpin for ProviderEndpointV2
impl UnwindSafe for ProviderEndpointV2
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