pub struct RowUsageSession {Show 13 fields
pub id: String,
pub project_id: String,
pub slug: String,
pub title: String,
pub cost: f64,
pub tokens_input: i64,
pub tokens_output: i64,
pub tokens_reasoning: i64,
pub tokens_cache_read: i64,
pub tokens_cache_write: i64,
pub model: String,
pub time_created: i64,
pub time_updated: i64,
}Fields§
§id: String§project_id: String§slug: String§title: String§cost: f64§tokens_input: i64§tokens_output: i64§tokens_reasoning: i64§tokens_cache_read: i64§tokens_cache_write: i64§model: String§time_created: i64§time_updated: i64Trait Implementations§
Source§impl Debug for RowUsageSession
impl Debug for RowUsageSession
Auto Trait Implementations§
impl Freeze for RowUsageSession
impl RefUnwindSafe for RowUsageSession
impl Send for RowUsageSession
impl Sync for RowUsageSession
impl Unpin for RowUsageSession
impl UnsafeUnpin for RowUsageSession
impl UnwindSafe for RowUsageSession
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> 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