pub enum ClientApi {
OpenAiChatCompletions,
OpenAiResponses,
AnthropicMessages,
}Expand description
A public API accepted from an application client.
JSON schema
{
"description": "A public API accepted from an application client.",
"type": "string",
"enum": [
"open-ai-chat-completions",
"open-ai-responses",
"anthropic-messages"
]
}Variants§
Trait Implementations§
impl Copy for ClientApi
Source§impl<'de> Deserialize<'de> for ClientApi
impl<'de> Deserialize<'de> for ClientApi
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 ClientApi
Source§impl Ord for ClientApi
impl Ord for ClientApi
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for ClientApi
impl PartialOrd for ClientApi
impl StructuralPartialEq for ClientApi
Source§impl TryFrom<&String> for ClientApi
impl TryFrom<&String> for ClientApi
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for ClientApi
impl RefUnwindSafe for ClientApi
impl Send for ClientApi
impl Sync for ClientApi
impl Unpin for ClientApi
impl UnsafeUnpin for ClientApi
impl UnwindSafe for ClientApi
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