pub struct AllocationTarget {
pub company_code: String,
pub cost_center: String,
pub account: String,
pub percentage: Option<Decimal>,
pub driver_value: Option<Decimal>,
}Expand description
Target for overhead allocation.
Fields§
§company_code: StringTarget company code.
cost_center: StringTarget cost center.
account: StringTarget account.
percentage: Option<Decimal>Allocation percentage (for fixed percentage basis).
driver_value: Option<Decimal>Allocation driver value (for calculated basis).
Trait Implementations§
Source§impl Clone for AllocationTarget
impl Clone for AllocationTarget
Source§fn clone(&self) -> AllocationTarget
fn clone(&self) -> AllocationTarget
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 moreAuto Trait Implementations§
impl Freeze for AllocationTarget
impl RefUnwindSafe for AllocationTarget
impl Send for AllocationTarget
impl Sync for AllocationTarget
impl Unpin for AllocationTarget
impl UnwindSafe for AllocationTarget
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