pub struct Builder { /* private fields */ }Expand description
A builder for Criterion.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn eq(self, input: impl Into<String>) -> Self
pub fn eq(self, input: impl Into<String>) -> Self
Appends an item to eq.
To override the contents of this collection use set_eq.
An "equals" operator to match for the filter used to create the rule.
sourcepub fn set_eq(self, input: Option<Vec<String>>) -> Self
pub fn set_eq(self, input: Option<Vec<String>>) -> Self
An "equals" operator to match for the filter used to create the rule.
sourcepub fn neq(self, input: impl Into<String>) -> Self
pub fn neq(self, input: impl Into<String>) -> Self
Appends an item to neq.
To override the contents of this collection use set_neq.
A "not equals" operator to match for the filter used to create the rule.
sourcepub fn set_neq(self, input: Option<Vec<String>>) -> Self
pub fn set_neq(self, input: Option<Vec<String>>) -> Self
A "not equals" operator to match for the filter used to create the rule.
sourcepub fn contains(self, input: impl Into<String>) -> Self
pub fn contains(self, input: impl Into<String>) -> Self
Appends an item to contains.
To override the contents of this collection use set_contains.
A "contains" operator to match for the filter used to create the rule.
sourcepub fn set_contains(self, input: Option<Vec<String>>) -> Self
pub fn set_contains(self, input: Option<Vec<String>>) -> Self
A "contains" operator to match for the filter used to create the rule.
sourcepub fn exists(self, input: bool) -> Self
pub fn exists(self, input: bool) -> Self
An "exists" operator to match for the filter used to create the rule.
sourcepub fn set_exists(self, input: Option<bool>) -> Self
pub fn set_exists(self, input: Option<bool>) -> Self
An "exists" operator to match for the filter used to create the rule.