pub struct DefaultsConfig {
pub repeat: Option<u32>,
pub warmup: Option<u32>,
pub threshold: Option<f64>,
pub warn_factor: Option<f64>,
pub noise_threshold: Option<f64>,
pub noise_policy: Option<NoisePolicy>,
pub out_dir: Option<String>,
pub baseline_dir: Option<String>,
pub baseline_pattern: Option<String>,
pub markdown_template: Option<String>,
}Fields§
§repeat: Option<u32>§warmup: Option<u32>§threshold: Option<f64>§warn_factor: Option<f64>§noise_threshold: Option<f64>§noise_policy: Option<NoisePolicy>§out_dir: Option<String>§baseline_dir: Option<String>§baseline_pattern: Option<String>Optional baseline discovery pattern. Supports {bench} placeholder.
Example: baselines/{bench}.json.
markdown_template: Option<String>Optional Handlebars template path for markdown comments.
Trait Implementations§
Source§impl Clone for DefaultsConfig
impl Clone for DefaultsConfig
Source§fn clone(&self) -> DefaultsConfig
fn clone(&self) -> DefaultsConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 DefaultsConfig
impl Debug for DefaultsConfig
Source§impl Default for DefaultsConfig
impl Default for DefaultsConfig
Source§fn default() -> DefaultsConfig
fn default() -> DefaultsConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DefaultsConfig
impl<'de> Deserialize<'de> for DefaultsConfig
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 DefaultsConfig
impl JsonSchema for DefaultsConfig
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 DefaultsConfig
impl PartialEq for DefaultsConfig
Source§impl Serialize for DefaultsConfig
impl Serialize for DefaultsConfig
impl StructuralPartialEq for DefaultsConfig
Auto Trait Implementations§
impl Freeze for DefaultsConfig
impl RefUnwindSafe for DefaultsConfig
impl Send for DefaultsConfig
impl Sync for DefaultsConfig
impl Unpin for DefaultsConfig
impl UnsafeUnpin for DefaultsConfig
impl UnwindSafe for DefaultsConfig
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