pub struct SessionCostPromptCacheMetadata {
pub provider: String,
pub cache_key: Option<String>,
pub stable_prefix_fingerprint: String,
pub stable_prefix_fingerprint_explicit: bool,
pub stable_prefix: Option<String>,
pub breakpoints: Vec<String>,
pub routing_affinity: Option<String>,
}Fields§
§provider: String§cache_key: Option<String>§stable_prefix_fingerprint: String§stable_prefix_fingerprint_explicit: bool§stable_prefix: Option<String>§breakpoints: Vec<String>§routing_affinity: Option<String>Trait Implementations§
Source§impl Clone for SessionCostPromptCacheMetadata
impl Clone for SessionCostPromptCacheMetadata
Source§fn clone(&self) -> SessionCostPromptCacheMetadata
fn clone(&self) -> SessionCostPromptCacheMetadata
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 SessionCostPromptCacheMetadata
Source§impl Serialize for SessionCostPromptCacheMetadata
impl Serialize for SessionCostPromptCacheMetadata
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 SessionCostPromptCacheMetadata
Auto Trait Implementations§
impl Freeze for SessionCostPromptCacheMetadata
impl RefUnwindSafe for SessionCostPromptCacheMetadata
impl Send for SessionCostPromptCacheMetadata
impl Sync for SessionCostPromptCacheMetadata
impl Unpin for SessionCostPromptCacheMetadata
impl UnsafeUnpin for SessionCostPromptCacheMetadata
impl UnwindSafe for SessionCostPromptCacheMetadata
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.