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