pub struct ExternalKvBlockKey {
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: u32Trait Implementations§
Source§impl Clone for ExternalKvBlockKey
impl Clone for ExternalKvBlockKey
Source§fn clone(&self) -> ExternalKvBlockKey
fn clone(&self) -> ExternalKvBlockKey
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 ExternalKvBlockKey
impl Debug for ExternalKvBlockKey
Source§impl<'de> Deserialize<'de> for ExternalKvBlockKey
impl<'de> Deserialize<'de> for ExternalKvBlockKey
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 ExternalKvBlockKey
Source§impl PartialEq for ExternalKvBlockKey
impl PartialEq for ExternalKvBlockKey
Source§fn eq(&self, other: &ExternalKvBlockKey) -> bool
fn eq(&self, other: &ExternalKvBlockKey) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ExternalKvBlockKey
impl Serialize for ExternalKvBlockKey
impl StructuralPartialEq for ExternalKvBlockKey
Auto Trait Implementations§
impl Freeze for ExternalKvBlockKey
impl RefUnwindSafe for ExternalKvBlockKey
impl Send for ExternalKvBlockKey
impl Sync for ExternalKvBlockKey
impl Unpin for ExternalKvBlockKey
impl UnsafeUnpin for ExternalKvBlockKey
impl UnwindSafe for ExternalKvBlockKey
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