pub struct OpenAiCompatibleCacheConfig {
pub prompt_cache_key: Option<String>,
}Fields§
§prompt_cache_key: Option<String>Trait Implementations§
Source§impl Clone for OpenAiCompatibleCacheConfig
impl Clone for OpenAiCompatibleCacheConfig
Source§fn clone(&self) -> OpenAiCompatibleCacheConfig
fn clone(&self) -> OpenAiCompatibleCacheConfig
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 OpenAiCompatibleCacheConfig
impl Debug for OpenAiCompatibleCacheConfig
Source§impl Default for OpenAiCompatibleCacheConfig
impl Default for OpenAiCompatibleCacheConfig
Source§fn default() -> OpenAiCompatibleCacheConfig
fn default() -> OpenAiCompatibleCacheConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OpenAiCompatibleCacheConfig
impl<'de> Deserialize<'de> for OpenAiCompatibleCacheConfig
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 OpenAiCompatibleCacheConfig
Source§impl PartialEq for OpenAiCompatibleCacheConfig
impl PartialEq for OpenAiCompatibleCacheConfig
Source§fn eq(&self, other: &OpenAiCompatibleCacheConfig) -> bool
fn eq(&self, other: &OpenAiCompatibleCacheConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OpenAiCompatibleCacheConfig
Auto Trait Implementations§
impl Freeze for OpenAiCompatibleCacheConfig
impl RefUnwindSafe for OpenAiCompatibleCacheConfig
impl Send for OpenAiCompatibleCacheConfig
impl Sync for OpenAiCompatibleCacheConfig
impl Unpin for OpenAiCompatibleCacheConfig
impl UnsafeUnpin for OpenAiCompatibleCacheConfig
impl UnwindSafe for OpenAiCompatibleCacheConfig
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