pub type OpenAIResult<T> = Result<T, OpenAIError>;
Aliased Type§
enum OpenAIResult<T> {
Ok(T),
Err(OpenAIError),
}
Variants§
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.