pub struct SectionConfig {
pub id: String,
pub placeholder: String,
pub measurement_filter: Option<String>,
pub key_value_filter: Vec<(String, String)>,
pub separate_by: Vec<String>,
pub aggregate_by: Option<ReductionFunc>,
pub depth: Option<usize>,
pub show_epochs: bool,
pub show_changes: bool,
}Expand description
Configuration for a single report section in a multi-section template
Fields§
§id: StringSection identifier (e.g., “test-overview”, “bench-median”)
placeholder: StringOriginal placeholder text to replace (e.g., “{{SECTION[id] param: value }}”)
measurement_filter: Option<String>Regex pattern for selecting measurements
key_value_filter: Vec<(String, String)>Key-value pairs to match (e.g., os=linux,arch=x64)
separate_by: Vec<String>Metadata keys to split traces by (e.g., [“os”, “arch”])
aggregate_by: Option<ReductionFunc>Aggregation function (none means raw data)
depth: Option<usize>Number of commits (overrides global depth)
show_epochs: boolShow epoch boundaries for this section
show_changes: boolDetect and show change points for this section
Implementations§
Trait Implementations§
Source§impl Clone for SectionConfig
impl Clone for SectionConfig
Source§fn clone(&self) -> SectionConfig
fn clone(&self) -> SectionConfig
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 moreAuto Trait Implementations§
impl Freeze for SectionConfig
impl RefUnwindSafe for SectionConfig
impl Send for SectionConfig
impl Sync for SectionConfig
impl Unpin for SectionConfig
impl UnwindSafe for SectionConfig
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
Source§impl<S, T> CastApprox<T> for Swhere
T: ConvApprox<S>,
impl<S, T> CastApprox<T> for Swhere
T: ConvApprox<S>,
Source§fn try_cast_approx(self) -> Result<T, Error>
fn try_cast_approx(self) -> Result<T, Error>
Source§fn cast_approx(self) -> T
fn cast_approx(self) -> T
Source§impl<S, T> CastFloat<T> for Swhere
T: ConvFloat<S>,
impl<S, T> CastFloat<T> for Swhere
T: ConvFloat<S>,
Source§fn cast_trunc(self) -> T
fn cast_trunc(self) -> T
Cast to integer, truncating Read more
Source§fn cast_nearest(self) -> T
fn cast_nearest(self) -> T
Cast to the nearest integer Read more
Source§fn cast_floor(self) -> T
fn cast_floor(self) -> T
Cast the floor to an integer Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more