pub struct PredictedOutput {
pub type: PredictedOutputType,
pub content: PredictedOutputContent,
}Fields§
§type: PredictedOutputTypeThe type of the predicted content you want to provide.
content: PredictedOutputContentThe 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.
Trait Implementations§
Source§impl Clone for PredictedOutput
impl Clone for PredictedOutput
Source§fn clone(&self) -> PredictedOutput
fn clone(&self) -> PredictedOutput
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 moreSource§impl Debug for PredictedOutput
impl Debug for PredictedOutput
Source§impl<'de> Deserialize<'de> for PredictedOutput
impl<'de> Deserialize<'de> for PredictedOutput
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
Source§impl PartialEq for PredictedOutput
impl PartialEq for PredictedOutput
Source§impl Serialize for PredictedOutput
impl Serialize for PredictedOutput
impl StructuralPartialEq for PredictedOutput
Auto Trait Implementations§
impl Freeze for PredictedOutput
impl RefUnwindSafe for PredictedOutput
impl Send for PredictedOutput
impl Sync for PredictedOutput
impl Unpin for PredictedOutput
impl UnwindSafe for PredictedOutput
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