pub struct AssistantUsageCopilotUsageTokenDetail {
pub batch_size: i64,
pub cost_per_batch: i64,
pub model: Option<String>,
pub token_count: i64,
pub token_type: String,
}Expand description
Token usage detail for a single billing category
Fields§
§batch_size: i64Number of tokens in this billing batch
cost_per_batch: i64Cost per batch of tokens
model: Option<String>Model responsible for this billing entry
token_count: i64Total token count for this entry
token_type: StringToken category (e.g., “input”, “output”)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AssistantUsageCopilotUsageTokenDetail
impl<'de> Deserialize<'de> for AssistantUsageCopilotUsageTokenDetail
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 AssistantUsageCopilotUsageTokenDetail
impl RefUnwindSafe for AssistantUsageCopilotUsageTokenDetail
impl Send for AssistantUsageCopilotUsageTokenDetail
impl Sync for AssistantUsageCopilotUsageTokenDetail
impl Unpin for AssistantUsageCopilotUsageTokenDetail
impl UnsafeUnpin for AssistantUsageCopilotUsageTokenDetail
impl UnwindSafe for AssistantUsageCopilotUsageTokenDetail
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