pub struct CachedLLMResult {
pub result: LLMResult,
pub cached_at: Instant,
}Expand description
Cached LLM result, with its expiry time
Fields§
§result: LLMResultThe LLM result
cached_at: InstantWhen it was cached
Trait Implementations§
Source§impl Clone for CachedLLMResult
impl Clone for CachedLLMResult
Auto Trait Implementations§
impl Freeze for CachedLLMResult
impl RefUnwindSafe for CachedLLMResult
impl Send for CachedLLMResult
impl Sync for CachedLLMResult
impl Unpin for CachedLLMResult
impl UnsafeUnpin for CachedLLMResult
impl UnwindSafe for CachedLLMResult
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