pub enum OpenAiPromptCacheRetention {
InMemory,
TwentyFourHours,
}Variants§
Trait Implementations§
Source§impl Clone for OpenAiPromptCacheRetention
impl Clone for OpenAiPromptCacheRetention
Source§fn clone(&self) -> OpenAiPromptCacheRetention
fn clone(&self) -> OpenAiPromptCacheRetention
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 OpenAiPromptCacheRetention
Source§impl Debug for OpenAiPromptCacheRetention
impl Debug for OpenAiPromptCacheRetention
impl Eq for OpenAiPromptCacheRetention
Source§impl PartialEq for OpenAiPromptCacheRetention
impl PartialEq for OpenAiPromptCacheRetention
Source§fn eq(&self, other: &OpenAiPromptCacheRetention) -> bool
fn eq(&self, other: &OpenAiPromptCacheRetention) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OpenAiPromptCacheRetention
Auto Trait Implementations§
impl Freeze for OpenAiPromptCacheRetention
impl RefUnwindSafe for OpenAiPromptCacheRetention
impl Send for OpenAiPromptCacheRetention
impl Sync for OpenAiPromptCacheRetention
impl Unpin for OpenAiPromptCacheRetention
impl UnsafeUnpin for OpenAiPromptCacheRetention
impl UnwindSafe for OpenAiPromptCacheRetention
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