pub enum PromptCachingMode {
Implicit,
Explicit,
}Variants§
Trait Implementations§
Source§impl Clone for PromptCachingMode
impl Clone for PromptCachingMode
impl Copy for PromptCachingMode
Source§impl Debug for PromptCachingMode
impl Debug for PromptCachingMode
Source§impl DeclaredFields for PromptCachingMode
impl DeclaredFields for PromptCachingMode
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for PromptCachingMode
impl<'de> Deserialize<'de> for PromptCachingMode
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 PromptCachingMode
Source§impl PartialEq for PromptCachingMode
impl PartialEq for PromptCachingMode
Source§impl Serialize for PromptCachingMode
impl Serialize for PromptCachingMode
impl StructuralPartialEq for PromptCachingMode
Auto Trait Implementations§
impl Freeze for PromptCachingMode
impl RefUnwindSafe for PromptCachingMode
impl Send for PromptCachingMode
impl Sync for PromptCachingMode
impl Unpin for PromptCachingMode
impl UnsafeUnpin for PromptCachingMode
impl UnwindSafe for PromptCachingMode
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