pub enum AssistantUsageApiEndpoint {
ChatCompletions,
V1Messages,
Responses,
WsResponses,
Unknown,
}Expand description
API endpoint used for this model call, matching CAPI supported_endpoints vocabulary
Variants§
ChatCompletions
Chat Completions API endpoint.
V1Messages
Anthropic Messages API endpoint.
Responses
Responses API endpoint.
WsResponses
WebSocket Responses API endpoint.
Unknown
Unknown variant for forward compatibility.
Trait Implementations§
Source§impl Clone for AssistantUsageApiEndpoint
impl Clone for AssistantUsageApiEndpoint
Source§fn clone(&self) -> AssistantUsageApiEndpoint
fn clone(&self) -> AssistantUsageApiEndpoint
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 AssistantUsageApiEndpoint
impl Debug for AssistantUsageApiEndpoint
Source§impl Default for AssistantUsageApiEndpoint
impl Default for AssistantUsageApiEndpoint
Source§fn default() -> AssistantUsageApiEndpoint
fn default() -> AssistantUsageApiEndpoint
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AssistantUsageApiEndpoint
impl<'de> Deserialize<'de> for AssistantUsageApiEndpoint
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
Source§impl PartialEq for AssistantUsageApiEndpoint
impl PartialEq for AssistantUsageApiEndpoint
Source§fn eq(&self, other: &AssistantUsageApiEndpoint) -> bool
fn eq(&self, other: &AssistantUsageApiEndpoint) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AssistantUsageApiEndpoint
impl StructuralPartialEq for AssistantUsageApiEndpoint
Auto Trait Implementations§
impl Freeze for AssistantUsageApiEndpoint
impl RefUnwindSafe for AssistantUsageApiEndpoint
impl Send for AssistantUsageApiEndpoint
impl Sync for AssistantUsageApiEndpoint
impl Unpin for AssistantUsageApiEndpoint
impl UnsafeUnpin for AssistantUsageApiEndpoint
impl UnwindSafe for AssistantUsageApiEndpoint
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