pub struct UnifiedChatCompletionResponseMessage<T> { /* private fields */ }
Expand description
A chat completion response message. Don’t use this type directly, and instead use the
?
AKA Try
operator to convert it into a result that can be used.
Trait Implementations§
Source§impl<T> From<UnifiedChatCompletionResponseMessage<T>> for OpenAIResult<T>
impl<T> From<UnifiedChatCompletionResponseMessage<T>> for OpenAIResult<T>
Source§fn from(value: UnifiedChatCompletionResponseMessage<T>) -> Self
fn from(value: UnifiedChatCompletionResponseMessage<T>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<T> Freeze for UnifiedChatCompletionResponseMessage<T>where
T: Freeze,
impl<T> RefUnwindSafe for UnifiedChatCompletionResponseMessage<T>where
T: RefUnwindSafe,
impl<T> Send for UnifiedChatCompletionResponseMessage<T>where
T: Send,
impl<T> Sync for UnifiedChatCompletionResponseMessage<T>where
T: Sync,
impl<T> Unpin for UnifiedChatCompletionResponseMessage<T>where
T: Unpin,
impl<T> UnwindSafe for UnifiedChatCompletionResponseMessage<T>where
T: UnwindSafe,
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