pub struct BusinessRulesConfig {
pub invoice: InvoiceRulesConfig,
pub payment_terms: PaymentTermsConfig,
pub approval_thresholds: ApprovalThresholdsConfig,
pub data_privacy: DataPrivacyConfig,
pub emission_country_multiplier: f64,
}Fields§
§invoice: InvoiceRulesConfig§payment_terms: PaymentTermsConfig§approval_thresholds: ApprovalThresholdsConfig§data_privacy: DataPrivacyConfig§emission_country_multiplier: f64Country-level carbon intensity multiplier for spend-based Scope 3 emissions. Defaults to 0.0 (unset); the generator treats 0.0 as 1.0.
Trait Implementations§
Source§impl Clone for BusinessRulesConfig
impl Clone for BusinessRulesConfig
Source§fn clone(&self) -> BusinessRulesConfig
fn clone(&self) -> BusinessRulesConfig
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 BusinessRulesConfig
impl Debug for BusinessRulesConfig
Source§impl Default for BusinessRulesConfig
impl Default for BusinessRulesConfig
Source§fn default() -> BusinessRulesConfig
fn default() -> BusinessRulesConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BusinessRulesConfig
impl<'de> Deserialize<'de> for BusinessRulesConfig
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 BusinessRulesConfig
impl RefUnwindSafe for BusinessRulesConfig
impl Send for BusinessRulesConfig
impl Sync for BusinessRulesConfig
impl Unpin for BusinessRulesConfig
impl UnsafeUnpin for BusinessRulesConfig
impl UnwindSafe for BusinessRulesConfig
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