pub struct VarianceEntry {
pub name: String,
pub budget: f64,
pub actual: f64,
pub variance: f64,
pub variance_pct: f64,
pub is_favorable: bool,
pub exceeds_threshold: bool,
}Expand description
A single variance entry (serializable version of VarianceResult)
Fields§
§name: String§budget: f64§actual: f64§variance: f64§variance_pct: f64§is_favorable: bool§exceeds_threshold: boolTrait Implementations§
Source§impl Clone for VarianceEntry
impl Clone for VarianceEntry
Source§fn clone(&self) -> VarianceEntry
fn clone(&self) -> VarianceEntry
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 moreSource§impl Debug for VarianceEntry
impl Debug for VarianceEntry
Source§impl<'de> Deserialize<'de> for VarianceEntry
impl<'de> Deserialize<'de> for VarianceEntry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for VarianceEntry
impl RefUnwindSafe for VarianceEntry
impl Send for VarianceEntry
impl Sync for VarianceEntry
impl Unpin for VarianceEntry
impl UnsafeUnpin for VarianceEntry
impl UnwindSafe for VarianceEntry
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