pub trait ValueShareContract {
// Required method
fn calculate_share(
&self,
attribution: SavingsAttribution,
) -> SettlementRecord;
}Expand description
Extension point for Enterprise billing implementations such as VerifiedValueShare.
Required Methods§
Calculate the settlement owed for a savings attribution.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".