pub enum ProviderEndpointWireApi {
Completions,
Responses,
Unknown,
}Expand description
Wire API to be used, when required for the provider type.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Variants§
Completions
Classic chat-completions request shape.
Responses
Newer responses request shape.
Unknown
Unknown variant for forward compatibility.
Trait Implementations§
Source§impl Clone for ProviderEndpointWireApi
impl Clone for ProviderEndpointWireApi
Source§fn clone(&self) -> ProviderEndpointWireApi
fn clone(&self) -> ProviderEndpointWireApi
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 ProviderEndpointWireApi
impl Debug for ProviderEndpointWireApi
Source§impl Default for ProviderEndpointWireApi
impl Default for ProviderEndpointWireApi
Source§fn default() -> ProviderEndpointWireApi
fn default() -> ProviderEndpointWireApi
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProviderEndpointWireApi
impl<'de> Deserialize<'de> for ProviderEndpointWireApi
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 ProviderEndpointWireApi
Source§impl PartialEq for ProviderEndpointWireApi
impl PartialEq for ProviderEndpointWireApi
Source§fn eq(&self, other: &ProviderEndpointWireApi) -> bool
fn eq(&self, other: &ProviderEndpointWireApi) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProviderEndpointWireApi
impl Serialize for ProviderEndpointWireApi
impl StructuralPartialEq for ProviderEndpointWireApi
Auto Trait Implementations§
impl Freeze for ProviderEndpointWireApi
impl RefUnwindSafe for ProviderEndpointWireApi
impl Send for ProviderEndpointWireApi
impl Sync for ProviderEndpointWireApi
impl Unpin for ProviderEndpointWireApi
impl UnsafeUnpin for ProviderEndpointWireApi
impl UnwindSafe for ProviderEndpointWireApi
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