pub struct ModelStepContent {
pub output_index: usize,
pub part_index: usize,
pub phase: ModelStepContentPhase,
pub text: String,
pub annotations: Vec<ModelStepAnnotation>,
}Expand description
One complete normalized text item produced by a model step.
Fields§
§output_index: usize§part_index: usize§phase: ModelStepContentPhase§text: String§annotations: Vec<ModelStepAnnotation>Trait Implementations§
Source§impl Clone for ModelStepContent
impl Clone for ModelStepContent
Source§fn clone(&self) -> ModelStepContent
fn clone(&self) -> ModelStepContent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ModelStepContent
impl Debug for ModelStepContent
Source§impl<'de> Deserialize<'de> for ModelStepContent
impl<'de> Deserialize<'de> for ModelStepContent
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
impl Eq for ModelStepContent
Source§impl PartialEq for ModelStepContent
impl PartialEq for ModelStepContent
Source§impl Serialize for ModelStepContent
impl Serialize for ModelStepContent
impl StructuralPartialEq for ModelStepContent
Auto Trait Implementations§
impl Freeze for ModelStepContent
impl RefUnwindSafe for ModelStepContent
impl Send for ModelStepContent
impl Sync for ModelStepContent
impl Unpin for ModelStepContent
impl UnsafeUnpin for ModelStepContent
impl UnwindSafe for ModelStepContent
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.