pub enum ClaudePromptCacheTtl {
FiveMinutes,
OneHour,
}Expand description
Claude prompt cache TTL values.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ClaudePromptCacheTtl
impl Clone for ClaudePromptCacheTtl
Source§fn clone(&self) -> ClaudePromptCacheTtl
fn clone(&self) -> ClaudePromptCacheTtl
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 ClaudePromptCacheTtl
Source§impl Debug for ClaudePromptCacheTtl
impl Debug for ClaudePromptCacheTtl
Source§impl Default for ClaudePromptCacheTtl
impl Default for ClaudePromptCacheTtl
Source§fn default() -> ClaudePromptCacheTtl
fn default() -> ClaudePromptCacheTtl
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClaudePromptCacheTtl
impl<'de> Deserialize<'de> for ClaudePromptCacheTtl
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 ClaudePromptCacheTtl
Source§impl PartialEq for ClaudePromptCacheTtl
impl PartialEq for ClaudePromptCacheTtl
Source§impl Serialize for ClaudePromptCacheTtl
impl Serialize for ClaudePromptCacheTtl
impl StructuralPartialEq for ClaudePromptCacheTtl
Auto Trait Implementations§
impl Freeze for ClaudePromptCacheTtl
impl RefUnwindSafe for ClaudePromptCacheTtl
impl Send for ClaudePromptCacheTtl
impl Sync for ClaudePromptCacheTtl
impl Unpin for ClaudePromptCacheTtl
impl UnsafeUnpin for ClaudePromptCacheTtl
impl UnwindSafe for ClaudePromptCacheTtl
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