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