pub struct ContextWindow {
pub context_window_size: Option<u64>,
pub current_usage: Option<CurrentUsage>,
}Fields§
§context_window_size: Option<u64>§current_usage: Option<CurrentUsage>Trait Implementations§
Source§impl Debug for ContextWindow
impl Debug for ContextWindow
Source§impl<'de> Deserialize<'de> for ContextWindow
impl<'de> Deserialize<'de> for ContextWindow
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 ContextWindow
impl RefUnwindSafe for ContextWindow
impl Send for ContextWindow
impl Sync for ContextWindow
impl Unpin for ContextWindow
impl UnwindSafe for ContextWindow
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