pub enum ContentGenerationKind {
OpenAiResponses,
OpenAiResponsesWebSocket,
OpenAiChatCompletions,
ClaudeMessages,
GeminiGenerateContent,
}Expand description
Content-generation wire formats.
Variants§
OpenAiResponses
OpenAiResponsesWebSocket
OpenAiChatCompletions
ClaudeMessages
GeminiGenerateContent
Implementations§
Trait Implementations§
Source§impl Clone for ContentGenerationKind
impl Clone for ContentGenerationKind
Source§fn clone(&self) -> ContentGenerationKind
fn clone(&self) -> ContentGenerationKind
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 moreimpl Copy for ContentGenerationKind
Source§impl Debug for ContentGenerationKind
impl Debug for ContentGenerationKind
Source§impl<'de> Deserialize<'de> for ContentGenerationKind
impl<'de> Deserialize<'de> for ContentGenerationKind
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 ContentGenerationKind
Source§impl Hash for ContentGenerationKind
impl Hash for ContentGenerationKind
Source§impl PartialEq for ContentGenerationKind
impl PartialEq for ContentGenerationKind
Source§impl Serialize for ContentGenerationKind
impl Serialize for ContentGenerationKind
impl StructuralPartialEq for ContentGenerationKind
Auto Trait Implementations§
impl Freeze for ContentGenerationKind
impl RefUnwindSafe for ContentGenerationKind
impl Send for ContentGenerationKind
impl Sync for ContentGenerationKind
impl Unpin for ContentGenerationKind
impl UnsafeUnpin for ContentGenerationKind
impl UnwindSafe for ContentGenerationKind
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