pub struct ContextProviderStatsV1 {
pub candidates_offered: u64,
pub candidates_selected: u64,
pub tokens_used: u64,
}Expand description
Deterministic aggregate accounting for one context provider.
Fields§
§candidates_offered: u64§candidates_selected: u64§tokens_used: u64Trait Implementations§
Source§impl Clone for ContextProviderStatsV1
impl Clone for ContextProviderStatsV1
Source§impl Debug for ContextProviderStatsV1
impl Debug for ContextProviderStatsV1
Source§impl Default for ContextProviderStatsV1
impl Default for ContextProviderStatsV1
Source§impl<'de> Deserialize<'de> for ContextProviderStatsV1
impl<'de> Deserialize<'de> for ContextProviderStatsV1
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
impl Eq for ContextProviderStatsV1
Source§impl PartialEq for ContextProviderStatsV1
impl PartialEq for ContextProviderStatsV1
Source§impl Serialize for ContextProviderStatsV1
impl Serialize for ContextProviderStatsV1
impl StructuralPartialEq for ContextProviderStatsV1
Auto Trait Implementations§
impl Freeze for ContextProviderStatsV1
impl RefUnwindSafe for ContextProviderStatsV1
impl Send for ContextProviderStatsV1
impl Sync for ContextProviderStatsV1
impl Unpin for ContextProviderStatsV1
impl UnsafeUnpin for ContextProviderStatsV1
impl UnwindSafe for ContextProviderStatsV1
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