pub struct BenchPopulationPreparationResult {Show 14 fields
pub schema_version: u32,
pub status: ClientStatus,
pub materialization_identity: String,
pub requested_entries: u32,
pub candidate_entries: u64,
pub admitted_entries: u64,
pub ineligible_entries: u64,
pub ineligible_reasons: BTreeMap<String, u64>,
pub population: Option<BenchPopulationInput>,
pub input_tokens: Option<BenchTokenCountSummary>,
pub output_tokens: Option<BenchTokenCountSummary>,
pub prompt_token_targeting: Option<BenchPromptTokenTargetingSummary>,
pub evidence_path: Option<PathBuf>,
pub error: Option<String>,
}Expand description
Terminal result of request-population materialization.
Fields§
§schema_version: u32§status: ClientStatus§materialization_identity: String§requested_entries: u32§candidate_entries: u64§admitted_entries: u64§ineligible_entries: u64§ineligible_reasons: BTreeMap<String, u64>§population: Option<BenchPopulationInput>§input_tokens: Option<BenchTokenCountSummary>§output_tokens: Option<BenchTokenCountSummary>§prompt_token_targeting: Option<BenchPromptTokenTargetingSummary>§evidence_path: Option<PathBuf>§error: Option<String>Trait Implementations§
Source§impl Clone for BenchPopulationPreparationResult
impl Clone for BenchPopulationPreparationResult
Source§fn clone(&self) -> BenchPopulationPreparationResult
fn clone(&self) -> BenchPopulationPreparationResult
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 BenchPopulationPreparationResult
impl<'de> Deserialize<'de> for BenchPopulationPreparationResult
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 BenchPopulationPreparationResult
impl JsonSchema for BenchPopulationPreparationResult
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 BenchPopulationPreparationResult
Auto Trait Implementations§
impl Freeze for BenchPopulationPreparationResult
impl RefUnwindSafe for BenchPopulationPreparationResult
impl Send for BenchPopulationPreparationResult
impl Sync for BenchPopulationPreparationResult
impl Unpin for BenchPopulationPreparationResult
impl UnsafeUnpin for BenchPopulationPreparationResult
impl UnwindSafe for BenchPopulationPreparationResult
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