#[non_exhaustive]pub enum ContentGenerationKind {
OpenAiChat,
OpenAiResponses,
OpenAiResponsesWebSocket,
ClaudeMessages,
GeminiGenerateContent,
}Expand description
The distinct content-generation wire shapes.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
OpenAiChat
OpenAiResponses
OpenAiResponsesWebSocket
Envelope variant of OpenAiResponses: same semantics over a
websocket transport. Transforms compose it onto the Responses
pairs; it never gets pair families of its own.
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
impl Eq for ContentGenerationKind
Source§impl Hash for ContentGenerationKind
impl Hash for ContentGenerationKind
Source§impl PartialEq for ContentGenerationKind
impl PartialEq 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