pub struct SessionReviewCostSummary {
pub scope: String,
pub sessions: usize,
pub usage_samples: usize,
pub prompt_tokens: u64,
pub cached_input_tokens: u64,
pub cache_creation_input_tokens: u64,
pub output_tokens: u64,
pub reasoning_output_tokens: u64,
pub total_tokens: u64,
pub cached_input_ratio: Option<f64>,
pub largest_turn_total_tokens: u64,
}Fields§
§scope: String§sessions: usize§usage_samples: usize§prompt_tokens: u64§cached_input_tokens: u64§cache_creation_input_tokens: u64§output_tokens: u64§reasoning_output_tokens: u64§total_tokens: u64§cached_input_ratio: Option<f64>§largest_turn_total_tokens: u64Trait Implementations§
Source§impl Clone for SessionReviewCostSummary
impl Clone for SessionReviewCostSummary
Source§fn clone(&self) -> SessionReviewCostSummary
fn clone(&self) -> SessionReviewCostSummary
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 SessionReviewCostSummary
impl Debug for SessionReviewCostSummary
Source§impl PartialEq for SessionReviewCostSummary
impl PartialEq for SessionReviewCostSummary
Source§impl Serialize for SessionReviewCostSummary
impl Serialize for SessionReviewCostSummary
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 SessionReviewCostSummary
Auto Trait Implementations§
impl Freeze for SessionReviewCostSummary
impl RefUnwindSafe for SessionReviewCostSummary
impl Send for SessionReviewCostSummary
impl Sync for SessionReviewCostSummary
impl Unpin for SessionReviewCostSummary
impl UnsafeUnpin for SessionReviewCostSummary
impl UnwindSafe for SessionReviewCostSummary
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