pub struct KvCacheEstimateAdjusted {
pub tolerance_fraction: f64,
pub total_kv_size_bytes: u64,
pub total_kv_size_tokens: u64,
}Fields§
§tolerance_fraction: f64§total_kv_size_bytes: u64§total_kv_size_tokens: u64Trait Implementations§
Source§impl Clone for KvCacheEstimateAdjusted
impl Clone for KvCacheEstimateAdjusted
Source§fn clone(&self) -> KvCacheEstimateAdjusted
fn clone(&self) -> KvCacheEstimateAdjusted
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 moreimpl Copy for KvCacheEstimateAdjusted
Source§impl Debug for KvCacheEstimateAdjusted
impl Debug for KvCacheEstimateAdjusted
Source§impl<'de> Deserialize<'de> for KvCacheEstimateAdjusted
impl<'de> Deserialize<'de> for KvCacheEstimateAdjusted
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 KvCacheEstimateAdjusted
impl PartialEq for KvCacheEstimateAdjusted
Source§impl Serialize for KvCacheEstimateAdjusted
impl Serialize for KvCacheEstimateAdjusted
impl StructuralPartialEq for KvCacheEstimateAdjusted
Auto Trait Implementations§
impl Freeze for KvCacheEstimateAdjusted
impl RefUnwindSafe for KvCacheEstimateAdjusted
impl Send for KvCacheEstimateAdjusted
impl Sync for KvCacheEstimateAdjusted
impl Unpin for KvCacheEstimateAdjusted
impl UnsafeUnpin for KvCacheEstimateAdjusted
impl UnwindSafe for KvCacheEstimateAdjusted
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