pub struct DailyRollup {Show 15 fields
pub schema_version: String,
pub date: String,
pub device_id: String,
pub total_input_tokens: u64,
pub total_cache_creation_tokens: u64,
pub total_cache_read_tokens: u64,
pub total_output_tokens: u64,
pub total_reasoning_tokens: u64,
pub total_tokens: u64,
pub total_events: u64,
pub total_sessions: u64,
pub estimated_cost_usd: Option<i64>,
pub by_provider: Option<String>,
pub by_account: Option<String>,
pub updated_at: DateTime<Utc>,
}Fields§
§schema_version: String§date: String§device_id: String§total_input_tokens: u64§total_cache_creation_tokens: u64§total_cache_read_tokens: u64§total_output_tokens: u64§total_reasoning_tokens: u64§total_tokens: u64§total_events: u64§total_sessions: u64§estimated_cost_usd: Option<i64>§by_provider: Option<String>§by_account: Option<String>§updated_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for DailyRollup
impl Clone for DailyRollup
Source§fn clone(&self) -> DailyRollup
fn clone(&self) -> DailyRollup
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 DailyRollup
impl Debug for DailyRollup
Source§impl<'de> Deserialize<'de> for DailyRollup
impl<'de> Deserialize<'de> for DailyRollup
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
Source§impl JsonSchema for DailyRollup
impl JsonSchema for DailyRollup
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for DailyRollup
impl PartialEq for DailyRollup
Source§fn eq(&self, other: &DailyRollup) -> bool
fn eq(&self, other: &DailyRollup) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DailyRollup
impl Serialize for DailyRollup
impl StructuralPartialEq for DailyRollup
Auto Trait Implementations§
impl Freeze for DailyRollup
impl RefUnwindSafe for DailyRollup
impl Send for DailyRollup
impl Sync for DailyRollup
impl Unpin for DailyRollup
impl UnsafeUnpin for DailyRollup
impl UnwindSafe for DailyRollup
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