pub struct ReportFieldOption {
pub enabled: bool,
pub precision: Option<u32>,
pub above: Option<f64>,
pub below: Option<f64>,
}Expand description
Per-field reporting options from the [REPORT] section.
Fields§
§enabled: boolWhether this field is included in the .rpt output.
precision: Option<u32>Optional decimal precision override for this field.
above: Option<f64>Optional lower-bound threshold filter for this field.
below: Option<f64>Optional upper-bound threshold filter for this field.
Trait Implementations§
Source§impl Clone for ReportFieldOption
impl Clone for ReportFieldOption
Source§fn clone(&self) -> ReportFieldOption
fn clone(&self) -> ReportFieldOption
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 moreAuto Trait Implementations§
impl Freeze for ReportFieldOption
impl RefUnwindSafe for ReportFieldOption
impl Send for ReportFieldOption
impl Sync for ReportFieldOption
impl Unpin for ReportFieldOption
impl UnsafeUnpin for ReportFieldOption
impl UnwindSafe for ReportFieldOption
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