pub struct ChatCompletionPredictionContentParam {
pub content: ChatCompletionPredictionContentParamContent,
pub type_: ChatCompletionPredictionContentParamType,
}Fields§
§content: ChatCompletionPredictionContentParamContentThe content that should be matched when generating a model response. If generated tokens would match this content, the entire model response can be returned much more quickly.
type_: ChatCompletionPredictionContentParamTypeThe type of the predicted content you want to provide.
This type is currently always content.
Trait Implementations§
Source§impl Clone for ChatCompletionPredictionContentParam
impl Clone for ChatCompletionPredictionContentParam
Source§fn clone(&self) -> ChatCompletionPredictionContentParam
fn clone(&self) -> ChatCompletionPredictionContentParam
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 ChatCompletionPredictionContentParam
impl RefUnwindSafe for ChatCompletionPredictionContentParam
impl Send for ChatCompletionPredictionContentParam
impl Sync for ChatCompletionPredictionContentParam
impl Unpin for ChatCompletionPredictionContentParam
impl UnwindSafe for ChatCompletionPredictionContentParam
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