pub struct BenchDatasetPreparationResult {Show 13 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 evidence_path: Option<PathBuf>,
pub error: Option<String>,
}Expand description
Terminal result of dataset 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>§evidence_path: Option<PathBuf>§error: Option<String>Trait Implementations§
Source§impl Clone for BenchDatasetPreparationResult
impl Clone for BenchDatasetPreparationResult
Source§fn clone(&self) -> BenchDatasetPreparationResult
fn clone(&self) -> BenchDatasetPreparationResult
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 BenchDatasetPreparationResult
impl<'de> Deserialize<'de> for BenchDatasetPreparationResult
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 BenchDatasetPreparationResult
impl JsonSchema for BenchDatasetPreparationResult
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 BenchDatasetPreparationResult
Auto Trait Implementations§
impl Freeze for BenchDatasetPreparationResult
impl RefUnwindSafe for BenchDatasetPreparationResult
impl Send for BenchDatasetPreparationResult
impl Sync for BenchDatasetPreparationResult
impl Unpin for BenchDatasetPreparationResult
impl UnsafeUnpin for BenchDatasetPreparationResult
impl UnwindSafe for BenchDatasetPreparationResult
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