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