pub struct ChainSummary {
pub total_entries: usize,
pub accepted: usize,
pub rejected: usize,
pub kernel_supplemented: usize,
pub avg_kernel_budget: f64,
pub total_tokens_delivered: usize,
pub total_phantom_savings_pct: f64,
}Expand description
Aggregate statistics for the receipt chain.
Fields§
§total_entries: usizeNumber of recorded delivery lifecycles.
accepted: usizeNumber of accepted deliveries.
rejected: usizeNumber of rejected deliveries.
kernel_supplemented: usizeNumber of kernel-supplemented deliveries.
avg_kernel_budget: f64Average kernel budget among supplemented deliveries.
total_tokens_delivered: usizeTotal tokens delivered across the chain.
total_phantom_savings_pct: f64Sum of phantom-savings percentages across the chain.
Trait Implementations§
Source§impl Clone for ChainSummary
impl Clone for ChainSummary
Source§fn clone(&self) -> ChainSummary
fn clone(&self) -> ChainSummary
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 ChainSummary
impl Debug for ChainSummary
Source§impl Default for ChainSummary
impl Default for ChainSummary
Source§fn default() -> ChainSummary
fn default() -> ChainSummary
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChainSummary
impl<'de> Deserialize<'de> for ChainSummary
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
Auto Trait Implementations§
impl Freeze for ChainSummary
impl RefUnwindSafe for ChainSummary
impl Send for ChainSummary
impl Sync for ChainSummary
impl Unpin for ChainSummary
impl UnsafeUnpin for ChainSummary
impl UnwindSafe for ChainSummary
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more