pub struct ChatBotConfig {
pub streaming_update_interval_ms: u64,
pub fallback_streaming_placeholder: String,
}Expand description
Configuration knobs for ChatBot.
Fields§
§streaming_update_interval_ms: u64Minimum interval (ms) between streaming edits.
fallback_streaming_placeholder: StringPlaceholder text shown while a stream is initialising.
Trait Implementations§
Source§impl Clone for ChatBotConfig
impl Clone for ChatBotConfig
Source§fn clone(&self) -> ChatBotConfig
fn clone(&self) -> ChatBotConfig
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 ChatBotConfig
impl Debug for ChatBotConfig
Auto Trait Implementations§
impl Freeze for ChatBotConfig
impl RefUnwindSafe for ChatBotConfig
impl Send for ChatBotConfig
impl Sync for ChatBotConfig
impl Unpin for ChatBotConfig
impl UnsafeUnpin for ChatBotConfig
impl UnwindSafe for ChatBotConfig
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