pub struct BenchPromptTokenTargetingSummary {
pub selected_prompt_tokens: BenchTokenCountSummary,
pub pre_template_content_tokens: BenchTokenCountSummary,
pub projection_template: Option<BenchPromptTemplateProjection>,
pub exact_entries: u32,
pub fallback_entries: u32,
pub fallback_reasons: BTreeMap<String, u32>,
}Expand description
Summary of best-effort complete-prompt targeting for a synthetic population.
Fields§
§selected_prompt_tokens: BenchTokenCountSummary§pre_template_content_tokens: BenchTokenCountSummary§projection_template: Option<BenchPromptTemplateProjection>§exact_entries: u32§fallback_entries: u32§fallback_reasons: BTreeMap<String, u32>Trait Implementations§
Source§impl Clone for BenchPromptTokenTargetingSummary
impl Clone for BenchPromptTokenTargetingSummary
Source§fn clone(&self) -> BenchPromptTokenTargetingSummary
fn clone(&self) -> BenchPromptTokenTargetingSummary
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 BenchPromptTokenTargetingSummary
impl<'de> Deserialize<'de> for BenchPromptTokenTargetingSummary
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 BenchPromptTokenTargetingSummary
impl JsonSchema for BenchPromptTokenTargetingSummary
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 BenchPromptTokenTargetingSummary
Auto Trait Implementations§
impl Freeze for BenchPromptTokenTargetingSummary
impl RefUnwindSafe for BenchPromptTokenTargetingSummary
impl Send for BenchPromptTokenTargetingSummary
impl Sync for BenchPromptTokenTargetingSummary
impl Unpin for BenchPromptTokenTargetingSummary
impl UnsafeUnpin for BenchPromptTokenTargetingSummary
impl UnwindSafe for BenchPromptTokenTargetingSummary
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