#[non_exhaustive]pub enum PromptCacheOptionMode {
Implicit,
Explicit,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for PromptCacheOptionMode
impl Clone for PromptCacheOptionMode
impl Copy for PromptCacheOptionMode
Source§impl Debug for PromptCacheOptionMode
impl Debug for PromptCacheOptionMode
Source§impl DeclaredFields for PromptCacheOptionMode
impl DeclaredFields for PromptCacheOptionMode
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for PromptCacheOptionMode
impl<'de> Deserialize<'de> for PromptCacheOptionMode
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 PromptCacheOptionMode
Source§impl PartialEq for PromptCacheOptionMode
impl PartialEq for PromptCacheOptionMode
Source§impl Serialize for PromptCacheOptionMode
impl Serialize for PromptCacheOptionMode
impl StructuralPartialEq for PromptCacheOptionMode
Auto Trait Implementations§
impl Freeze for PromptCacheOptionMode
impl RefUnwindSafe for PromptCacheOptionMode
impl Send for PromptCacheOptionMode
impl Sync for PromptCacheOptionMode
impl Unpin for PromptCacheOptionMode
impl UnsafeUnpin for PromptCacheOptionMode
impl UnwindSafe for PromptCacheOptionMode
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