pub struct CompressionThresholds {
pub small_content: u32,
pub medium_content: u32,
pub large_content_threshold: u32,
}Expand description
Thresholds for content compression.
Fields§
§small_content: u32Content below this token count is kept unchanged.
medium_content: u32Content below this gets light summarization.
large_content_threshold: u32Content above medium gets deep summarization (if ai_mode=Deep).
Trait Implementations§
Source§impl Clone for CompressionThresholds
impl Clone for CompressionThresholds
Source§fn clone(&self) -> CompressionThresholds
fn clone(&self) -> CompressionThresholds
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 CompressionThresholds
impl Debug for CompressionThresholds
Source§impl Default for CompressionThresholds
impl Default for CompressionThresholds
Source§impl<'de> Deserialize<'de> for CompressionThresholds
impl<'de> Deserialize<'de> for CompressionThresholds
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 CompressionThresholds
impl RefUnwindSafe for CompressionThresholds
impl Send for CompressionThresholds
impl Sync for CompressionThresholds
impl Unpin for CompressionThresholds
impl UnsafeUnpin for CompressionThresholds
impl UnwindSafe for CompressionThresholds
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