pub struct StreamingConfig {
pub event_format: Option<String>,
pub decoder: Option<DecoderConfig>,
pub frame_selector: Option<String>,
pub content_path: Option<String>,
pub tool_call_path: Option<String>,
pub usage_path: Option<String>,
pub candidate: Option<CandidateConfig>,
pub accumulator: Option<AccumulatorConfig>,
pub event_map: Vec<EventMapRule>,
pub stop_condition: Option<String>,
}Fields§
§event_format: Option<String>§decoder: Option<DecoderConfig>§frame_selector: Option<String>§content_path: Option<String>Common path for content delta in streaming frames (provider-specific)
tool_call_path: Option<String>Common path for tool call delta in streaming frames (provider-specific)
usage_path: Option<String>Common path for usage metadata in streaming frames (provider-specific)
candidate: Option<CandidateConfig>§accumulator: Option<AccumulatorConfig>§event_map: Vec<EventMapRule>§stop_condition: Option<String>Trait Implementations§
Source§impl Clone for StreamingConfig
impl Clone for StreamingConfig
Source§fn clone(&self) -> StreamingConfig
fn clone(&self) -> StreamingConfig
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 StreamingConfig
impl Debug for StreamingConfig
Source§impl<'de> Deserialize<'de> for StreamingConfig
impl<'de> Deserialize<'de> for StreamingConfig
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
Auto Trait Implementations§
impl Freeze for StreamingConfig
impl RefUnwindSafe for StreamingConfig
impl Send for StreamingConfig
impl Sync for StreamingConfig
impl Unpin for StreamingConfig
impl UnwindSafe for StreamingConfig
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