pub struct PromptCacheBreakpointConfig {
pub mode: PromptCacheBreakpointConfigMode,
}Available on crate feature
response-types only.Expand description
Marks the exact end of a reusable prompt prefix. The breakpoint inherits its TTL from the request’s
prompt_cache_options.ttl; the boundary is not rounded to a token block.
Fields§
§mode: PromptCacheBreakpointConfigModeThe breakpoint mode. Always explicit.
Trait Implementations§
Source§impl Clone for PromptCacheBreakpointConfig
impl Clone for PromptCacheBreakpointConfig
Source§fn clone(&self) -> PromptCacheBreakpointConfig
fn clone(&self) -> PromptCacheBreakpointConfig
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 moreSource§impl Debug for PromptCacheBreakpointConfig
impl Debug for PromptCacheBreakpointConfig
Source§impl<'de> Deserialize<'de> for PromptCacheBreakpointConfig
impl<'de> Deserialize<'de> for PromptCacheBreakpointConfig
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 StructuralPartialEq for PromptCacheBreakpointConfig
Auto Trait Implementations§
impl Freeze for PromptCacheBreakpointConfig
impl RefUnwindSafe for PromptCacheBreakpointConfig
impl Send for PromptCacheBreakpointConfig
impl Sync for PromptCacheBreakpointConfig
impl Unpin for PromptCacheBreakpointConfig
impl UnsafeUnpin for PromptCacheBreakpointConfig
impl UnwindSafe for PromptCacheBreakpointConfig
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