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 Clone for ChatCompletionPredictionContentParamContent
impl Clone for ChatCompletionPredictionContentParamContent
Source§fn clone(&self) -> ChatCompletionPredictionContentParamContent
fn clone(&self) -> ChatCompletionPredictionContentParamContent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ChatCompletionPredictionContentParamContent
impl RefUnwindSafe for ChatCompletionPredictionContentParamContent
impl Send for ChatCompletionPredictionContentParamContent
impl Sync for ChatCompletionPredictionContentParamContent
impl Unpin 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