pub struct ContextEntry {
pub step: String,
pub iteration: u32,
pub context: String,
pub markers: Vec<String>,
pub structured_output: Option<String>,
pub output_file: Option<String>,
}Expand description
An entry in the accumulated context history.
Fields§
§step: String§iteration: u32§context: String§markers: Vec<String>§structured_output: Option<String>§output_file: Option<String>Trait Implementations§
Source§impl Clone for ContextEntry
impl Clone for ContextEntry
Source§fn clone(&self) -> ContextEntry
fn clone(&self) -> ContextEntry
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 ContextEntry
impl Debug for ContextEntry
Source§impl<'de> Deserialize<'de> for ContextEntry
impl<'de> Deserialize<'de> for ContextEntry
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 From<StepSuccess> for ContextEntry
impl From<StepSuccess> for ContextEntry
Source§fn from(success: StepSuccess) -> Self
fn from(success: StepSuccess) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ContextEntry
impl RefUnwindSafe for ContextEntry
impl Send for ContextEntry
impl Sync for ContextEntry
impl Unpin for ContextEntry
impl UnsafeUnpin for ContextEntry
impl UnwindSafe for ContextEntry
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