pub struct YamlBuilder { /* private fields */ }
Expand description
Builder for YamlObserver
.
Implementations§
Source§impl YamlBuilder
impl YamlBuilder
Sourcepub fn new() -> YamlBuilder
pub fn new() -> YamlBuilder
Creates a new YamlBuilder
with default values.
Sourcepub fn set_quantiles(self, quantiles: &[f64]) -> YamlBuilder
pub fn set_quantiles(self, quantiles: &[f64]) -> YamlBuilder
Sets the quantiles to use when rendering histograms.
Quantiles represent a scale of 0 to 1, where percentiles represent a scale of 1 to 100, so a quantile of 0.99 is the 99th percentile, and a quantile of 0.99 is the 99.9th percentile.
By default, the quantiles will be set to: 0.0, 0.5, 0.9, 0.95, 0.99, 0.999, and 1.0.
Trait Implementations§
Source§impl Builder for YamlBuilder
impl Builder for YamlBuilder
Source§type Output = YamlObserver
type Output = YamlObserver
The observer created by this builder.
Source§impl Default for YamlBuilder
impl Default for YamlBuilder
Source§fn default() -> YamlBuilder
fn default() -> YamlBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for YamlBuilder
impl RefUnwindSafe for YamlBuilder
impl Send for YamlBuilder
impl Sync for YamlBuilder
impl Unpin for YamlBuilder
impl UnwindSafe for YamlBuilder
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