pub struct SessionCostPromptCachePrefixDrift {
pub previous_label: String,
pub current_label: String,
pub trigger: String,
pub severity: String,
pub first_changed_field: 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§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 PartialEq for SessionCostPromptCachePrefixDrift
impl PartialEq for SessionCostPromptCachePrefixDrift
Source§fn eq(&self, other: &SessionCostPromptCachePrefixDrift) -> bool
fn eq(&self, other: &SessionCostPromptCachePrefixDrift) -> bool
Tests for
self and other values to be equal, and is used by ==.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§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.