pub struct CompactionSettingsJson {
pub enabled: Option<bool>,
pub reserve_tokens: Option<i64>,
pub keep_recent_tokens: Option<i64>,
pub model_overrides: Option<Value>,
}Expand description
compaction — upstream’s CompactionSettings.
Fields§
§enabled: Option<bool>§reserve_tokens: Option<i64>§keep_recent_tokens: Option<i64>§model_overrides: Option<Value>Per-model overrides. Kept for round-tripping; the harness has no per-model compaction override.
Trait Implementations§
Source§impl Clone for CompactionSettingsJson
impl Clone for CompactionSettingsJson
Source§impl Debug for CompactionSettingsJson
impl Debug for CompactionSettingsJson
Source§impl Default for CompactionSettingsJson
impl Default for CompactionSettingsJson
Source§impl<'de> Deserialize<'de> for CompactionSettingsJson
impl<'de> Deserialize<'de> for CompactionSettingsJson
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 CompactionSettingsJson
impl RefUnwindSafe for CompactionSettingsJson
impl Send for CompactionSettingsJson
impl Sync for CompactionSettingsJson
impl Unpin for CompactionSettingsJson
impl UnsafeUnpin for CompactionSettingsJson
impl UnwindSafe for CompactionSettingsJson
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
impl<T> MaybeSendSync for T
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().