pub struct PredictionContent {
pub content: PredictionContentContent,
}
Expand description
Static predicted output content, such as the content of a text file that is being regenerated.
Fields§
§content: PredictionContentContent
The 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.
Implementations§
Trait Implementations§
Source§impl Clone for PredictionContent
impl Clone for PredictionContent
Source§fn clone(&self) -> PredictionContent
fn clone(&self) -> PredictionContent
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 PredictionContent
impl Debug for PredictionContent
Source§impl<'de> Deserialize<'de> for PredictionContent
impl<'de> Deserialize<'de> for PredictionContent
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 PredictionContent
impl PartialEq for PredictionContent
Source§impl Serialize for PredictionContent
impl Serialize for PredictionContent
impl StructuralPartialEq for PredictionContent
Auto Trait Implementations§
impl Freeze for PredictionContent
impl RefUnwindSafe for PredictionContent
impl Send for PredictionContent
impl Sync for PredictionContent
impl Unpin for PredictionContent
impl UnwindSafe for PredictionContent
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