pub struct MemberSavings {
pub signer: String,
pub agent_id: String,
pub saved_tokens: u64,
pub net_saved_tokens: u64,
pub saved_usd: f64,
pub total_events: u64,
pub last_reported: String,
}Fields§
§signer: StringTruncated signer public key — a stable, privacy-preserving member id.
agent_id: String§saved_tokens: u64§net_saved_tokens: u64§saved_usd: f64§total_events: u64Measured agent actions for this signer (latest batch).
last_reported: Stringcreated_at of the member’s most recent batch (RFC 3339).
Trait Implementations§
Source§impl Debug for MemberSavings
impl Debug for MemberSavings
Auto Trait Implementations§
impl Freeze for MemberSavings
impl RefUnwindSafe for MemberSavings
impl Send for MemberSavings
impl Sync for MemberSavings
impl Unpin for MemberSavings
impl UnsafeUnpin for MemberSavings
impl UnwindSafe for MemberSavings
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
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