pub struct PromptCacheBreakpointBuilder(/* private fields */);Expand description
Builder for PromptCacheBreakpoint.
Implementations§
Source§impl PromptCacheBreakpointBuilder
impl PromptCacheBreakpointBuilder
pub fn ttl(self, value: impl Into<PromptCacheBreakpointTtl>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> PromptCacheBreakpoint
pub fn build(self) -> PromptCacheBreakpoint
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for PromptCacheBreakpointBuilder
impl RefUnwindSafe for PromptCacheBreakpointBuilder
impl Send for PromptCacheBreakpointBuilder
impl Sync for PromptCacheBreakpointBuilder
impl Unpin for PromptCacheBreakpointBuilder
impl UnsafeUnpin for PromptCacheBreakpointBuilder
impl UnwindSafe for PromptCacheBreakpointBuilder
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