pub enum OpenAiPromptCacheMode {
Implicit,
Explicit,
}Expand description
GPT-5.6 prompt-cache breakpoint placement mode.
Variants§
Implicit
Keep the implicit breakpoint on the latest message and honor explicit points.
Explicit
Use only explicit cache points.
Trait Implementations§
Source§impl Clone for OpenAiPromptCacheMode
impl Clone for OpenAiPromptCacheMode
Source§fn clone(&self) -> OpenAiPromptCacheMode
fn clone(&self) -> OpenAiPromptCacheMode
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 OpenAiPromptCacheMode
Source§impl Debug for OpenAiPromptCacheMode
impl Debug for OpenAiPromptCacheMode
Source§impl<'de> Deserialize<'de> for OpenAiPromptCacheMode
impl<'de> Deserialize<'de> for OpenAiPromptCacheMode
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 OpenAiPromptCacheMode
Source§impl PartialEq for OpenAiPromptCacheMode
impl PartialEq for OpenAiPromptCacheMode
Source§impl Serialize for OpenAiPromptCacheMode
impl Serialize for OpenAiPromptCacheMode
impl StructuralPartialEq for OpenAiPromptCacheMode
Auto Trait Implementations§
impl Freeze for OpenAiPromptCacheMode
impl RefUnwindSafe for OpenAiPromptCacheMode
impl Send for OpenAiPromptCacheMode
impl Sync for OpenAiPromptCacheMode
impl Unpin for OpenAiPromptCacheMode
impl UnsafeUnpin for OpenAiPromptCacheMode
impl UnwindSafe for OpenAiPromptCacheMode
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