pub struct SessionCostPromptCachePrefixDrift {
pub previous_label: String,
pub current_label: String,
pub trigger: String,
pub severity: String,
pub first_changed_field: String,
pub remediation: String,
pub field_changes: Vec<SessionCostPromptCacheFieldChange>,
pub cached_input_ratio_before: Option<String>,
pub cached_input_ratio_after: Option<String>,
pub cache_creation_ratio: Option<String>,
}Fields§
§previous_label: String§current_label: String§trigger: String§severity: String§first_changed_field: String§remediation: StringConcrete, field-specific fix for the attributed drift cause: stabilize the changed input or move the volatile field below the cache breakpoint. Always populated so the report tells the agent what to do, not just what drifted (#pcacheremediation).
field_changes: Vec<SessionCostPromptCacheFieldChange>§cached_input_ratio_before: Option<String>§cached_input_ratio_after: Option<String>§cache_creation_ratio: Option<String>Trait Implementations§
Source§impl Clone for SessionCostPromptCachePrefixDrift
impl Clone for SessionCostPromptCachePrefixDrift
Source§fn clone(&self) -> SessionCostPromptCachePrefixDrift
fn clone(&self) -> SessionCostPromptCachePrefixDrift
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 moreimpl Eq for SessionCostPromptCachePrefixDrift
Source§impl Serialize for SessionCostPromptCachePrefixDrift
impl Serialize for SessionCostPromptCachePrefixDrift
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for SessionCostPromptCachePrefixDrift
Auto Trait Implementations§
impl Freeze for SessionCostPromptCachePrefixDrift
impl RefUnwindSafe for SessionCostPromptCachePrefixDrift
impl Send for SessionCostPromptCachePrefixDrift
impl Sync for SessionCostPromptCachePrefixDrift
impl Unpin for SessionCostPromptCachePrefixDrift
impl UnsafeUnpin for SessionCostPromptCachePrefixDrift
impl UnwindSafe for SessionCostPromptCachePrefixDrift
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.