pub struct TranscriptOptions {
pub tool_results: ToolResults,
pub lenient: bool,
}Expand description
How read_transcript_with reads.
Fields§
§tool_results: ToolResultsWhat tool results keep.
lenient: boolSkip a line that isn’t JSON or isn’t a valid turn, instead of failing: the hooks read a transcript the client may be writing, so its last line can be half written.
Trait Implementations§
Source§impl Clone for TranscriptOptions
impl Clone for TranscriptOptions
impl Copy for TranscriptOptions
Source§impl Debug for TranscriptOptions
impl Debug for TranscriptOptions
Source§impl Default for TranscriptOptions
impl Default for TranscriptOptions
impl Eq for TranscriptOptions
Source§impl PartialEq for TranscriptOptions
impl PartialEq for TranscriptOptions
impl StructuralPartialEq for TranscriptOptions
Auto Trait Implementations§
impl Forget for TranscriptOptions
impl Freeze for TranscriptOptions
impl Move for TranscriptOptions
impl RefUnwindSafe for TranscriptOptions
impl Send for TranscriptOptions
impl Sync for TranscriptOptions
impl Unpin for TranscriptOptions
impl UnsafeUnpin for TranscriptOptions
impl UnwindSafe for TranscriptOptions
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