pub enum CachePlan {
Off,
ImportedPrefix,
}Expand description
Prompt-caching plan applied while building a provider request.
Variants§
Off
Do not add explicit prompt-cache annotations.
ImportedPrefix
Add breakpoints to the system message and imported-session prefix.
Trait Implementations§
impl Copy for CachePlan
impl Eq for CachePlan
impl StructuralPartialEq for CachePlan
Auto Trait Implementations§
impl Freeze for CachePlan
impl RefUnwindSafe for CachePlan
impl Send for CachePlan
impl Sync for CachePlan
impl Unpin for CachePlan
impl UnsafeUnpin for CachePlan
impl UnwindSafe for CachePlan
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