#[non_exhaustive]pub enum CompactWindow {
Tokens(u64),
Named(String),
}Expand description
modelSettings.*.autoCompactWindow.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Tokens(u64)
A number of tokens (100 000 to 1 000 000).
Named(String)
auto: the window tuned for the model.
Trait Implementations§
Source§impl Clone for CompactWindow
impl Clone for CompactWindow
Source§impl Debug for CompactWindow
impl Debug for CompactWindow
Source§impl<'de> Deserialize<'de> for CompactWindow
impl<'de> Deserialize<'de> for CompactWindow
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
impl Eq for CompactWindow
Source§impl PartialEq for CompactWindow
impl PartialEq for CompactWindow
Source§impl Serialize for CompactWindow
impl Serialize for CompactWindow
impl StructuralPartialEq for CompactWindow
Auto Trait Implementations§
impl Forget for CompactWindow
impl Freeze for CompactWindow
impl Move for CompactWindow
impl RefUnwindSafe for CompactWindow
impl Send for CompactWindow
impl Sync for CompactWindow
impl Unpin for CompactWindow
impl UnsafeUnpin for CompactWindow
impl UnwindSafe for CompactWindow
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