pub struct ControlTotal {
pub field: String,
pub count: usize,
pub sum_rendered: String,
pub findings: Vec<Finding>,
}Expand description
A control total for one numeric field across a record set.
Fields§
§field: StringThe field name summed.
count: usizeThe number of records included in the sum.
sum_rendered: StringThe exact sum, rendered at the field’s implied scale (e.g. 12345.67), sign included.
findings: Vec<Finding>Findings raised while summing (e.g. a non-numeric value, or an unknown field name).
Trait Implementations§
Source§impl Clone for ControlTotal
impl Clone for ControlTotal
Source§fn clone(&self) -> ControlTotal
fn clone(&self) -> ControlTotal
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 moreSource§impl Debug for ControlTotal
impl Debug for ControlTotal
impl Eq for ControlTotal
Source§impl PartialEq for ControlTotal
impl PartialEq for ControlTotal
Source§fn eq(&self, other: &ControlTotal) -> bool
fn eq(&self, other: &ControlTotal) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ControlTotal
Auto Trait Implementations§
impl Freeze for ControlTotal
impl RefUnwindSafe for ControlTotal
impl Send for ControlTotal
impl Sync for ControlTotal
impl Unpin for ControlTotal
impl UnsafeUnpin for ControlTotal
impl UnwindSafe for ControlTotal
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