pub enum PromptRetention {
InMemory,
Duration24h,
}Variants§
Trait Implementations§
Source§impl Clone for PromptRetention
impl Clone for PromptRetention
Source§fn clone(&self) -> PromptRetention
fn clone(&self) -> PromptRetention
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 PromptRetention
impl Debug for PromptRetention
Source§impl<'de> Deserialize<'de> for PromptRetention
impl<'de> Deserialize<'de> for PromptRetention
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 PromptRetention
impl PartialEq for PromptRetention
Source§impl Serialize for PromptRetention
impl Serialize for PromptRetention
impl StructuralPartialEq for PromptRetention
Auto Trait Implementations§
impl Freeze for PromptRetention
impl RefUnwindSafe for PromptRetention
impl Send for PromptRetention
impl Sync for PromptRetention
impl Unpin for PromptRetention
impl UnwindSafe for PromptRetention
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