pub struct UiSettings {
pub theme: String,
pub streaming_throttle_ms: u32,
pub footer_show_cost: bool,
pub hide_thinking_blocks: bool,
pub collapse_tool_output_by_default: bool,
pub collapse_tool_args_max_lines: u32,
pub collapse_history_after: u32,
}Fields§
§theme: String§streaming_throttle_ms: u32§hide_thinking_blocks: boolv0.9 Phase A: hide MessageBlock::Thinking entirely from rendering. Default true — most users don’t want to read the model’s reasoning.
collapse_tool_output_by_default: boolv0.9 Phase A: collapse ToolResult output to “tool ✓ (N lines)” 1-liner. Default true — keeps transcript scannable.
collapse_tool_args_max_lines: u32v0.9 Phase A: collapse tool-call args when pretty-printed > N lines. 0 disables. Default 2.
collapse_history_after: u32v0.9 Phase A: collapse assistant messages older than N from the end. 0 disables (opt-in). Default 0.
Trait Implementations§
Source§impl Clone for UiSettings
impl Clone for UiSettings
Source§fn clone(&self) -> UiSettings
fn clone(&self) -> UiSettings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UiSettings
impl Debug for UiSettings
Source§impl Default for UiSettings
impl Default for UiSettings
Source§impl<'de> Deserialize<'de> for UiSettings
impl<'de> Deserialize<'de> for UiSettings
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
Source§impl PartialEq for UiSettings
impl PartialEq for UiSettings
Source§fn eq(&self, other: &UiSettings) -> bool
fn eq(&self, other: &UiSettings) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for UiSettings
impl Serialize for UiSettings
impl StructuralPartialEq for UiSettings
Auto Trait Implementations§
impl Freeze for UiSettings
impl RefUnwindSafe for UiSettings
impl Send for UiSettings
impl Sync for UiSettings
impl Unpin for UiSettings
impl UnsafeUnpin for UiSettings
impl UnwindSafe for UiSettings
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