pub struct KvBlockKey {
pub model_id: String,
pub tokenizer_id: String,
pub adapter_id: Option<String>,
pub tenant_id: String,
pub prefix_hash: String,
pub block_hash: String,
pub block_index: u32,
pub token_count: u32,
}Fields§
§model_id: String§tokenizer_id: String§adapter_id: Option<String>§tenant_id: String§prefix_hash: String§block_hash: String§block_index: u32§token_count: u32Implementations§
Source§impl KvBlockKey
impl KvBlockKey
Trait Implementations§
Source§impl Clone for KvBlockKey
impl Clone for KvBlockKey
Source§fn clone(&self) -> KvBlockKey
fn clone(&self) -> KvBlockKey
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 KvBlockKey
impl Debug for KvBlockKey
Source§impl<'de> Deserialize<'de> for KvBlockKey
impl<'de> Deserialize<'de> for KvBlockKey
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 KvBlockKey
Source§impl Hash for KvBlockKey
impl Hash for KvBlockKey
Source§impl PartialEq for KvBlockKey
impl PartialEq for KvBlockKey
Source§fn eq(&self, other: &KvBlockKey) -> bool
fn eq(&self, other: &KvBlockKey) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for KvBlockKey
impl Serialize for KvBlockKey
impl StructuralPartialEq for KvBlockKey
Auto Trait Implementations§
impl Freeze for KvBlockKey
impl RefUnwindSafe for KvBlockKey
impl Send for KvBlockKey
impl Sync for KvBlockKey
impl Unpin for KvBlockKey
impl UnsafeUnpin for KvBlockKey
impl UnwindSafe for KvBlockKey
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