pub struct BenchDefinitionInput {
pub request_source: BenchRequestSourceInput,
pub seed: u64,
pub request_body: BTreeMap<String, SettingValue>,
pub request_slo: Option<BenchRequestSloInput>,
pub timeout_seconds: u64,
pub reset_prefix_cache: bool,
}Expand description
The workload shape a Bench client drives, shared across its load cases.
Fields§
§request_source: BenchRequestSourceInput§seed: u64§request_body: BTreeMap<String, SettingValue>§request_slo: Option<BenchRequestSloInput>§timeout_seconds: u64§reset_prefix_cache: boolTrait Implementations§
Source§impl Clone for BenchDefinitionInput
impl Clone for BenchDefinitionInput
Source§fn clone(&self) -> BenchDefinitionInput
fn clone(&self) -> BenchDefinitionInput
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 BenchDefinitionInput
impl Debug for BenchDefinitionInput
Source§impl<'de> Deserialize<'de> for BenchDefinitionInput
impl<'de> Deserialize<'de> for BenchDefinitionInput
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 BenchDefinitionInput
impl JsonSchema for BenchDefinitionInput
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 moreSource§impl PartialEq for BenchDefinitionInput
impl PartialEq for BenchDefinitionInput
Source§impl Serialize for BenchDefinitionInput
impl Serialize for BenchDefinitionInput
impl StructuralPartialEq for BenchDefinitionInput
Auto Trait Implementations§
impl Freeze for BenchDefinitionInput
impl RefUnwindSafe for BenchDefinitionInput
impl Send for BenchDefinitionInput
impl Sync for BenchDefinitionInput
impl Unpin for BenchDefinitionInput
impl UnsafeUnpin for BenchDefinitionInput
impl UnwindSafe for BenchDefinitionInput
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