pub struct TokenDistributionPoint {
pub project_id: String,
pub model_name: Option<String>,
pub observation_count: u64,
pub avg_tokens: Option<f64>,
pub p50_tokens: Option<f64>,
pub p95_tokens: Option<f64>,
pub p99_tokens: Option<f64>,
pub max_tokens: Option<u64>,
}Expand description
Token distribution statistics (by model).
Fields§
§project_id: String§model_name: Option<String>§observation_count: u64§avg_tokens: Option<f64>§p50_tokens: Option<f64>§p95_tokens: Option<f64>§p99_tokens: Option<f64>§max_tokens: Option<u64>Trait Implementations§
Source§impl Clone for TokenDistributionPoint
impl Clone for TokenDistributionPoint
Source§fn clone(&self) -> TokenDistributionPoint
fn clone(&self) -> TokenDistributionPoint
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 TokenDistributionPoint
impl Debug for TokenDistributionPoint
Source§impl<'de> Deserialize<'de> for TokenDistributionPoint
impl<'de> Deserialize<'de> for TokenDistributionPoint
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 TokenDistributionPoint
impl RefUnwindSafe for TokenDistributionPoint
impl Send for TokenDistributionPoint
impl Sync for TokenDistributionPoint
impl Unpin for TokenDistributionPoint
impl UnsafeUnpin for TokenDistributionPoint
impl UnwindSafe for TokenDistributionPoint
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