pub enum PromptCacheProvider {
None,
Anthropic,
OpenAiCompatible,
}Variants§
Trait Implementations§
Source§impl Clone for PromptCacheProvider
impl Clone for PromptCacheProvider
Source§fn clone(&self) -> PromptCacheProvider
fn clone(&self) -> PromptCacheProvider
Returns a duplicate of the value. Read more
1.0.0 · 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 PromptCacheProvider
impl Debug for PromptCacheProvider
Source§impl Default for PromptCacheProvider
impl Default for PromptCacheProvider
Source§fn default() -> PromptCacheProvider
fn default() -> PromptCacheProvider
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PromptCacheProvider
impl<'de> Deserialize<'de> for PromptCacheProvider
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 PromptCacheProvider
impl PartialEq for PromptCacheProvider
Source§impl Serialize for PromptCacheProvider
impl Serialize for PromptCacheProvider
impl Eq for PromptCacheProvider
impl StructuralPartialEq for PromptCacheProvider
Auto Trait Implementations§
impl Freeze for PromptCacheProvider
impl RefUnwindSafe for PromptCacheProvider
impl Send for PromptCacheProvider
impl Sync for PromptCacheProvider
impl Unpin for PromptCacheProvider
impl UnsafeUnpin for PromptCacheProvider
impl UnwindSafe for PromptCacheProvider
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