#[non_exhaustive]pub enum ChatCompletionObjectType {
ChatCompletion,
}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.
ChatCompletion
Trait Implementations§
Source§impl Clone for ChatCompletionObjectType
impl Clone for ChatCompletionObjectType
Source§fn clone(&self) -> ChatCompletionObjectType
fn clone(&self) -> ChatCompletionObjectType
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 moreSource§impl Debug for ChatCompletionObjectType
impl Debug for ChatCompletionObjectType
Source§impl Default for ChatCompletionObjectType
impl Default for ChatCompletionObjectType
Source§fn default() -> ChatCompletionObjectType
fn default() -> ChatCompletionObjectType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChatCompletionObjectType
impl<'de> Deserialize<'de> for ChatCompletionObjectType
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 ChatCompletionObjectType
Source§impl PartialEq for ChatCompletionObjectType
impl PartialEq for ChatCompletionObjectType
Source§impl Serialize for ChatCompletionObjectType
impl Serialize for ChatCompletionObjectType
impl StructuralPartialEq for ChatCompletionObjectType
Auto Trait Implementations§
impl Freeze for ChatCompletionObjectType
impl RefUnwindSafe for ChatCompletionObjectType
impl Send for ChatCompletionObjectType
impl Sync for ChatCompletionObjectType
impl Unpin for ChatCompletionObjectType
impl UnsafeUnpin for ChatCompletionObjectType
impl UnwindSafe for ChatCompletionObjectType
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