pub struct Rollup {
pub requests: u64,
pub input: u64,
pub output: u64,
pub cache_creation: u64,
pub cache_read: u64,
pub incomplete_requests: u64,
pub cost_usd: f64,
pub unpriced_requests: u64,
}Expand description
Token + cost rollup over a set of deduplicated requests.
Fields§
§requests: u64§input: u64§output: u64§cache_creation: u64§cache_read: u64§incomplete_requests: u64Requests with at least one unknown core usage field — the sums above are best-effort LOWER BOUNDS for those (absence ≠ zero, §8.5).
cost_usd: f64USD cost of the requests whose model has a known price.
unpriced_requests: u64Requests that could not be priced (model unknown or not in the snapshot).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Rollup
impl RefUnwindSafe for Rollup
impl Send for Rollup
impl Sync for Rollup
impl Unpin for Rollup
impl UnsafeUnpin for Rollup
impl UnwindSafe for Rollup
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