pub struct TerminalStreamingConfig {
pub enabled: bool,
pub typing_delay_ms: u64,
pub enable_animation: bool,
pub prefix: String,
}
Expand description
Configuration for terminal streaming
Fields§
§enabled: bool
Whether streaming is enabled
typing_delay_ms: u64
Delay between characters for typing animation (in milliseconds)
enable_animation: bool
Whether to enable typing animation
prefix: String
Prefix to display before each response
Trait Implementations§
Source§impl Clone for TerminalStreamingConfig
impl Clone for TerminalStreamingConfig
Source§fn clone(&self) -> TerminalStreamingConfig
fn clone(&self) -> TerminalStreamingConfig
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 TerminalStreamingConfig
impl Debug for TerminalStreamingConfig
Source§impl Default for TerminalStreamingConfig
impl Default for TerminalStreamingConfig
Source§impl<'de> Deserialize<'de> for TerminalStreamingConfig
impl<'de> Deserialize<'de> for TerminalStreamingConfig
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 TerminalStreamingConfig
impl RefUnwindSafe for TerminalStreamingConfig
impl Send for TerminalStreamingConfig
impl Sync for TerminalStreamingConfig
impl Unpin for TerminalStreamingConfig
impl UnwindSafe for TerminalStreamingConfig
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