pub struct CacheKeyParams {Show 15 fields
pub provider: String,
pub model: String,
pub messages: Vec<Value>,
pub base_url: Option<String>,
pub enable_thinking: Option<bool>,
pub temperature: Option<f64>,
pub max_output_tokens: Option<u64>,
pub response_format: Option<Value>,
pub provider_options: Option<Value>,
pub seed: Option<i64>,
pub top_p: Option<f64>,
pub top_k: Option<i64>,
pub presence_penalty: Option<f64>,
pub frequency_penalty: Option<f64>,
pub stop_sequences: Option<Vec<String>>,
}Fields§
§provider: String§model: String§messages: Vec<Value>§base_url: Option<String>§enable_thinking: Option<bool>§temperature: Option<f64>§max_output_tokens: Option<u64>§response_format: Option<Value>§provider_options: Option<Value>§seed: Option<i64>§top_p: Option<f64>§top_k: Option<i64>§presence_penalty: Option<f64>§frequency_penalty: Option<f64>§stop_sequences: Option<Vec<String>>Trait Implementations§
Source§impl Clone for CacheKeyParams
impl Clone for CacheKeyParams
Source§fn clone(&self) -> CacheKeyParams
fn clone(&self) -> CacheKeyParams
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 CacheKeyParams
impl Debug for CacheKeyParams
Source§impl<'de> Deserialize<'de> for CacheKeyParams
impl<'de> Deserialize<'de> for CacheKeyParams
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 CacheKeyParams
impl PartialEq for CacheKeyParams
Source§fn eq(&self, other: &CacheKeyParams) -> bool
fn eq(&self, other: &CacheKeyParams) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CacheKeyParams
Auto Trait Implementations§
impl Freeze for CacheKeyParams
impl RefUnwindSafe for CacheKeyParams
impl Send for CacheKeyParams
impl Sync for CacheKeyParams
impl Unpin for CacheKeyParams
impl UnsafeUnpin for CacheKeyParams
impl UnwindSafe for CacheKeyParams
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