pub struct StockCompExpense {
pub grant_id: String,
pub entity_code: String,
pub period: String,
pub expense_amount: Decimal,
pub cumulative_recognized: Decimal,
pub remaining_unrecognized: Decimal,
pub forfeiture_rate: Decimal,
}Expand description
Stock-based compensation expense recognised for a grant in one period.
Generated for each active vesting period. The cumulative_recognized
plus remaining_unrecognized equals the total expense budget for this
grant after applying the forfeiture estimate.
§Identities
cumulative_recognized + remaining_unrecognized ≈ total_grant_value × (1 − forfeiture_rate) (within rounding)
Fields§
§grant_id: StringForeign key to StockGrant.id.
entity_code: StringCompany / entity code.
period: StringPeriod label (e.g. “2024-Q1” or “2024-12”).
expense_amount: DecimalExpense recognised in this period.
cumulative_recognized: DecimalCumulative expense recognised through the end of this period.
remaining_unrecognized: DecimalRemaining unrecognised expense after this period.
forfeiture_rate: DecimalForfeiture rate applied to this grant (snapshot at grant date).
Trait Implementations§
Source§impl Clone for StockCompExpense
impl Clone for StockCompExpense
Source§fn clone(&self) -> StockCompExpense
fn clone(&self) -> StockCompExpense
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 StockCompExpense
impl Debug for StockCompExpense
Source§impl<'de> Deserialize<'de> for StockCompExpense
impl<'de> Deserialize<'de> for StockCompExpense
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 StockCompExpense
impl RefUnwindSafe for StockCompExpense
impl Send for StockCompExpense
impl Sync for StockCompExpense
impl Unpin for StockCompExpense
impl UnsafeUnpin for StockCompExpense
impl UnwindSafe for StockCompExpense
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