pub enum ProviderEndpointType {
Openai,
Azure,
Anthropic,
Unknown,
}Expand description
Provider family. Matches the type field of a BYOK provider config.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Variants§
Openai
OpenAI-compatible endpoint (use the OpenAI client library).
Azure
Azure OpenAI endpoint (use the OpenAI client library with the Azure base URL).
Anthropic
Anthropic endpoint (use the Anthropic client library).
Unknown
Unknown variant for forward compatibility.
Trait Implementations§
Source§impl Clone for ProviderEndpointType
impl Clone for ProviderEndpointType
Source§fn clone(&self) -> ProviderEndpointType
fn clone(&self) -> ProviderEndpointType
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 ProviderEndpointType
impl Debug for ProviderEndpointType
Source§impl Default for ProviderEndpointType
impl Default for ProviderEndpointType
Source§fn default() -> ProviderEndpointType
fn default() -> ProviderEndpointType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProviderEndpointType
impl<'de> Deserialize<'de> for ProviderEndpointType
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 ProviderEndpointType
Source§impl PartialEq for ProviderEndpointType
impl PartialEq for ProviderEndpointType
Source§fn eq(&self, other: &ProviderEndpointType) -> bool
fn eq(&self, other: &ProviderEndpointType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProviderEndpointType
impl Serialize for ProviderEndpointType
impl StructuralPartialEq for ProviderEndpointType
Auto Trait Implementations§
impl Freeze for ProviderEndpointType
impl RefUnwindSafe for ProviderEndpointType
impl Send for ProviderEndpointType
impl Sync for ProviderEndpointType
impl Unpin for ProviderEndpointType
impl UnsafeUnpin for ProviderEndpointType
impl UnwindSafe for ProviderEndpointType
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