#[non_exhaustive]pub enum PromptCacheBreakpointTtl {
ThirtyMinutes,
TwelveHours,
}Expand description
Explicit cache-breakpoint lifetimes from OpenAI’s PromptCacheBreakpointParam. Separate from the request-wide PromptCacheTTLEnum and legacy retention policy.
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 PromptCacheBreakpointTtl
impl Clone for PromptCacheBreakpointTtl
impl Copy for PromptCacheBreakpointTtl
Source§impl Debug for PromptCacheBreakpointTtl
impl Debug for PromptCacheBreakpointTtl
Source§impl DeclaredFields for PromptCacheBreakpointTtl
impl DeclaredFields for PromptCacheBreakpointTtl
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for PromptCacheBreakpointTtl
impl<'de> Deserialize<'de> for PromptCacheBreakpointTtl
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 PromptCacheBreakpointTtl
Source§impl PartialEq for PromptCacheBreakpointTtl
impl PartialEq for PromptCacheBreakpointTtl
Source§impl Serialize for PromptCacheBreakpointTtl
impl Serialize for PromptCacheBreakpointTtl
impl StructuralPartialEq for PromptCacheBreakpointTtl
Auto Trait Implementations§
impl Freeze for PromptCacheBreakpointTtl
impl RefUnwindSafe for PromptCacheBreakpointTtl
impl Send for PromptCacheBreakpointTtl
impl Sync for PromptCacheBreakpointTtl
impl Unpin for PromptCacheBreakpointTtl
impl UnsafeUnpin for PromptCacheBreakpointTtl
impl UnwindSafe for PromptCacheBreakpointTtl
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