pub struct SessionCostPromptCachePlan {
pub status: String,
pub feasible: bool,
pub observed_cached_input_tokens: u64,
pub observed_cache_creation_tokens: u64,
pub observed_cached_input_ratio: Option<String>,
pub analytics: Option<SessionCostPromptCacheAnalytics>,
pub scorecard: Vec<SessionCostPromptCacheRoiScorecard>,
pub invariants: Vec<String>,
pub provider_adapters: Vec<SessionCostPromptCacheProvider>,
pub actions: Vec<SessionCostPromptCacheAction>,
}Fields§
§status: String§feasible: bool§observed_cached_input_tokens: u64§observed_cache_creation_tokens: u64§observed_cached_input_ratio: Option<String>§analytics: Option<SessionCostPromptCacheAnalytics>§scorecard: Vec<SessionCostPromptCacheRoiScorecard>§invariants: Vec<String>§provider_adapters: Vec<SessionCostPromptCacheProvider>§actions: Vec<SessionCostPromptCacheAction>Trait Implementations§
Source§impl Clone for SessionCostPromptCachePlan
impl Clone for SessionCostPromptCachePlan
Source§fn clone(&self) -> SessionCostPromptCachePlan
fn clone(&self) -> SessionCostPromptCachePlan
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 moreSource§impl Debug for SessionCostPromptCachePlan
impl Debug for SessionCostPromptCachePlan
impl Eq for SessionCostPromptCachePlan
Source§impl Serialize for SessionCostPromptCachePlan
impl Serialize for SessionCostPromptCachePlan
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 SessionCostPromptCachePlan
Auto Trait Implementations§
impl Freeze for SessionCostPromptCachePlan
impl RefUnwindSafe for SessionCostPromptCachePlan
impl Send for SessionCostPromptCachePlan
impl Sync for SessionCostPromptCachePlan
impl Unpin for SessionCostPromptCachePlan
impl UnsafeUnpin for SessionCostPromptCachePlan
impl UnwindSafe for SessionCostPromptCachePlan
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.