pub struct LeaseAccountingConfig {
pub enabled: bool,
pub lease_count: usize,
pub finance_lease_percent: f64,
pub avg_lease_term_months: u32,
pub generate_amortization: bool,
pub real_estate_percent: f64,
}Expand description
Lease accounting configuration (ASC 842/IFRS 16).
Fields§
§enabled: boolEnable lease accounting generation
lease_count: usizeNumber of leases to generate
finance_lease_percent: f64Percentage of finance leases (vs operating)
avg_lease_term_months: u32Average lease term in months
generate_amortization: boolGenerate amortization schedules
real_estate_percent: f64Real estate lease percentage
Trait Implementations§
Source§impl Clone for LeaseAccountingConfig
impl Clone for LeaseAccountingConfig
Source§fn clone(&self) -> LeaseAccountingConfig
fn clone(&self) -> LeaseAccountingConfig
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 LeaseAccountingConfig
impl Debug for LeaseAccountingConfig
Source§impl Default for LeaseAccountingConfig
impl Default for LeaseAccountingConfig
Source§impl<'de> Deserialize<'de> for LeaseAccountingConfig
impl<'de> Deserialize<'de> for LeaseAccountingConfig
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 LeaseAccountingConfig
impl RefUnwindSafe for LeaseAccountingConfig
impl Send for LeaseAccountingConfig
impl Sync for LeaseAccountingConfig
impl Unpin for LeaseAccountingConfig
impl UnwindSafe for LeaseAccountingConfig
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