pub struct DepreciationMethodDistribution {
pub straight_line: f64,
pub declining_balance: f64,
pub double_declining: f64,
pub sum_of_years: f64,
pub units_of_production: f64,
}Expand description
Depreciation method distribution.
Fields§
§straight_line: f64Straight line
declining_balance: f64Declining balance
double_declining: f64Double declining balance
sum_of_years: f64Sum of years’ digits
units_of_production: f64Units of production
Trait Implementations§
Source§impl Clone for DepreciationMethodDistribution
impl Clone for DepreciationMethodDistribution
Source§fn clone(&self) -> DepreciationMethodDistribution
fn clone(&self) -> DepreciationMethodDistribution
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<'de> Deserialize<'de> for DepreciationMethodDistribution
impl<'de> Deserialize<'de> for DepreciationMethodDistribution
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 DepreciationMethodDistribution
impl RefUnwindSafe for DepreciationMethodDistribution
impl Send for DepreciationMethodDistribution
impl Sync for DepreciationMethodDistribution
impl Unpin for DepreciationMethodDistribution
impl UnwindSafe for DepreciationMethodDistribution
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