pub struct ProviderCatalogEntry {
pub id: &'static str,
pub name: &'static str,
pub kind: &'static str,
pub default_model: &'static str,
pub base_url: Option<&'static str>,
pub env_key: Option<&'static str>,
pub env_aliases: &'static [&'static str],
pub requires_auth: bool,
pub supports_websockets: bool,
}Fields§
§id: &'static str§name: &'static str§kind: &'static str§default_model: &'static str§base_url: Option<&'static str>§env_key: Option<&'static str>§env_aliases: &'static [&'static str]§requires_auth: bool§supports_websockets: boolTrait Implementations§
Source§impl Clone for ProviderCatalogEntry
impl Clone for ProviderCatalogEntry
Source§fn clone(&self) -> ProviderCatalogEntry
fn clone(&self) -> ProviderCatalogEntry
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 ProviderCatalogEntry
impl Debug for ProviderCatalogEntry
impl Eq for ProviderCatalogEntry
Source§impl PartialEq for ProviderCatalogEntry
impl PartialEq for ProviderCatalogEntry
Source§fn eq(&self, other: &ProviderCatalogEntry) -> bool
fn eq(&self, other: &ProviderCatalogEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProviderCatalogEntry
impl Serialize for ProviderCatalogEntry
impl StructuralPartialEq for ProviderCatalogEntry
Auto Trait Implementations§
impl Freeze for ProviderCatalogEntry
impl RefUnwindSafe for ProviderCatalogEntry
impl Send for ProviderCatalogEntry
impl Sync for ProviderCatalogEntry
impl Unpin for ProviderCatalogEntry
impl UnsafeUnpin for ProviderCatalogEntry
impl UnwindSafe for ProviderCatalogEntry
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.