pub struct BenchPromptTokenReconciliation {
pub population_index: u32,
pub native_session_num: u64,
pub planned_prompt_tokens: u32,
pub observed_prompt_tokens: Option<u32>,
pub reconciled: bool,
}Expand description
One synthetic profiling request’s planned-to-observed prompt-token check.
Fields§
§population_index: u32§native_session_num: u64§planned_prompt_tokens: u32§observed_prompt_tokens: Option<u32>§reconciled: boolTrait Implementations§
Source§impl Clone for BenchPromptTokenReconciliation
impl Clone for BenchPromptTokenReconciliation
Source§fn clone(&self) -> BenchPromptTokenReconciliation
fn clone(&self) -> BenchPromptTokenReconciliation
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<'de> Deserialize<'de> for BenchPromptTokenReconciliation
impl<'de> Deserialize<'de> for BenchPromptTokenReconciliation
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 BenchPromptTokenReconciliation
impl JsonSchema for BenchPromptTokenReconciliation
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 inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for BenchPromptTokenReconciliation
Auto Trait Implementations§
impl Freeze for BenchPromptTokenReconciliation
impl RefUnwindSafe for BenchPromptTokenReconciliation
impl Send for BenchPromptTokenReconciliation
impl Sync for BenchPromptTokenReconciliation
impl Unpin for BenchPromptTokenReconciliation
impl UnsafeUnpin for BenchPromptTokenReconciliation
impl UnwindSafe for BenchPromptTokenReconciliation
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