pub struct PromptCachePlan {
pub provider: PromptCacheProvider,
pub tagged_indexes: Vec<usize>,
}Fields§
§provider: PromptCacheProvider§tagged_indexes: Vec<usize>Trait Implementations§
Source§impl Clone for PromptCachePlan
impl Clone for PromptCachePlan
Source§fn clone(&self) -> PromptCachePlan
fn clone(&self) -> PromptCachePlan
Returns a duplicate of the value. Read more
1.0.0 · 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 PromptCachePlan
impl Debug for PromptCachePlan
Source§impl<'de> Deserialize<'de> for PromptCachePlan
impl<'de> Deserialize<'de> for PromptCachePlan
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
Source§impl PartialEq for PromptCachePlan
impl PartialEq for PromptCachePlan
Source§impl Serialize for PromptCachePlan
impl Serialize for PromptCachePlan
impl Eq for PromptCachePlan
impl StructuralPartialEq for PromptCachePlan
Auto Trait Implementations§
impl Freeze for PromptCachePlan
impl RefUnwindSafe for PromptCachePlan
impl Send for PromptCachePlan
impl Sync for PromptCachePlan
impl Unpin for PromptCachePlan
impl UnsafeUnpin for PromptCachePlan
impl UnwindSafe for PromptCachePlan
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