pub struct BenchPrefixConditioningInput {
pub path: PathBuf,
pub sha256: String,
pub prompt_tokens: u32,
}Expand description
File-bound exact canonical prefix used to condition a primed cache start.
Fields§
§path: PathBuf§sha256: String§prompt_tokens: u32Trait Implementations§
Source§impl Clone for BenchPrefixConditioningInput
impl Clone for BenchPrefixConditioningInput
Source§fn clone(&self) -> BenchPrefixConditioningInput
fn clone(&self) -> BenchPrefixConditioningInput
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 BenchPrefixConditioningInput
impl Debug for BenchPrefixConditioningInput
Source§impl<'de> Deserialize<'de> for BenchPrefixConditioningInput
impl<'de> Deserialize<'de> for BenchPrefixConditioningInput
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
impl Eq for BenchPrefixConditioningInput
Source§impl JsonSchema for BenchPrefixConditioningInput
impl JsonSchema for BenchPrefixConditioningInput
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 BenchPrefixConditioningInput
Auto Trait Implementations§
impl Freeze for BenchPrefixConditioningInput
impl RefUnwindSafe for BenchPrefixConditioningInput
impl Send for BenchPrefixConditioningInput
impl Sync for BenchPrefixConditioningInput
impl Unpin for BenchPrefixConditioningInput
impl UnsafeUnpin for BenchPrefixConditioningInput
impl UnwindSafe for BenchPrefixConditioningInput
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