pub enum AnthropicCacheTtlConfig {
FiveMinutes,
OneHour,
}Variants§
Trait Implementations§
Source§impl Clone for AnthropicCacheTtlConfig
impl Clone for AnthropicCacheTtlConfig
Source§fn clone(&self) -> AnthropicCacheTtlConfig
fn clone(&self) -> AnthropicCacheTtlConfig
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 moreimpl Copy for AnthropicCacheTtlConfig
Source§impl Debug for AnthropicCacheTtlConfig
impl Debug for AnthropicCacheTtlConfig
Source§impl<'de> Deserialize<'de> for AnthropicCacheTtlConfig
impl<'de> Deserialize<'de> for AnthropicCacheTtlConfig
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 AnthropicCacheTtlConfig
Source§impl From<AnthropicCacheTtlConfig> for AnthropicCacheTtl
impl From<AnthropicCacheTtlConfig> for AnthropicCacheTtl
Source§fn from(value: AnthropicCacheTtlConfig) -> Self
fn from(value: AnthropicCacheTtlConfig) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AnthropicCacheTtlConfig
impl PartialEq for AnthropicCacheTtlConfig
Source§fn eq(&self, other: &AnthropicCacheTtlConfig) -> bool
fn eq(&self, other: &AnthropicCacheTtlConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AnthropicCacheTtlConfig
impl Serialize for AnthropicCacheTtlConfig
impl StructuralPartialEq for AnthropicCacheTtlConfig
Auto Trait Implementations§
impl Freeze for AnthropicCacheTtlConfig
impl RefUnwindSafe for AnthropicCacheTtlConfig
impl Send for AnthropicCacheTtlConfig
impl Sync for AnthropicCacheTtlConfig
impl Unpin for AnthropicCacheTtlConfig
impl UnsafeUnpin for AnthropicCacheTtlConfig
impl UnwindSafe for AnthropicCacheTtlConfig
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