pub struct StreamConfig {
pub emit_partial_outputs: bool,
pub partial_output_interval_ms: u64,
pub emit_thinking: bool,
pub buffer_tool_args: bool,
}Expand description
Configuration for agent streaming.
Fields§
§emit_partial_outputs: boolWhether to emit partial outputs.
partial_output_interval_ms: u64Minimum interval between partial output emissions (ms).
emit_thinking: boolWhether to emit thinking deltas.
buffer_tool_args: boolWhether to accumulate tool arguments before emitting.
Trait Implementations§
Source§impl Clone for StreamConfig
impl Clone for StreamConfig
Source§fn clone(&self) -> StreamConfig
fn clone(&self) -> StreamConfig
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 StreamConfig
impl Debug for StreamConfig
Auto Trait Implementations§
impl Freeze for StreamConfig
impl RefUnwindSafe for StreamConfig
impl Send for StreamConfig
impl Sync for StreamConfig
impl Unpin for StreamConfig
impl UnwindSafe for StreamConfig
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