pub enum ChatCompletionPredictionContentParamContent {
Text(String),
ChatCompletionContentPartTextParam {
text: String,
type_: ChatCompletionContentPartTextParamType,
},
}Variants§
Text(String)
ChatCompletionContentPartTextParam
Fields
§
type_: ChatCompletionContentPartTextParamTypeThe type of the content part.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ChatCompletionPredictionContentParamContent
impl<'de> Deserialize<'de> for ChatCompletionPredictionContentParamContent
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
Auto Trait Implementations§
impl Freeze for ChatCompletionPredictionContentParamContent
impl RefUnwindSafe for ChatCompletionPredictionContentParamContent
impl Send for ChatCompletionPredictionContentParamContent
impl Sync for ChatCompletionPredictionContentParamContent
impl Unpin for ChatCompletionPredictionContentParamContent
impl UnsafeUnpin for ChatCompletionPredictionContentParamContent
impl UnwindSafe for ChatCompletionPredictionContentParamContent
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