pub struct TreasuryConfig {
pub enabled: bool,
pub cash_positioning: CashPositioningConfig,
pub cash_forecasting: CashForecastingConfig,
pub cash_pooling: CashPoolingConfig,
pub hedging: HedgingSchemaConfig,
pub debt: DebtSchemaConfig,
pub netting: NettingSchemaConfig,
pub bank_guarantees: BankGuaranteeSchemaConfig,
pub anomaly_rate: f64,
}Expand description
Treasury and cash management configuration.
Controls generation of cash positions, forecasts, pooling, hedging instruments (ASC 815 / IFRS 9), debt instruments with covenants, bank guarantees, and intercompany netting runs.
Fields§
§enabled: boolWhether treasury generation is enabled.
cash_positioning: CashPositioningConfigCash positioning configuration.
cash_forecasting: CashForecastingConfigCash forecasting configuration.
cash_pooling: CashPoolingConfigCash pooling configuration.
hedging: HedgingSchemaConfigHedging configuration (FX forwards, IR swaps, etc.).
debt: DebtSchemaConfigDebt instrument and covenant configuration.
netting: NettingSchemaConfigIntercompany netting configuration.
bank_guarantees: BankGuaranteeSchemaConfigBank guarantee / letter of credit configuration.
anomaly_rate: f64Anomaly injection rate for treasury data (0.0 to 1.0).
Trait Implementations§
Source§impl Clone for TreasuryConfig
impl Clone for TreasuryConfig
Source§fn clone(&self) -> TreasuryConfig
fn clone(&self) -> TreasuryConfig
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 TreasuryConfig
impl Debug for TreasuryConfig
Source§impl Default for TreasuryConfig
impl Default for TreasuryConfig
Source§impl<'de> Deserialize<'de> for TreasuryConfig
impl<'de> Deserialize<'de> for TreasuryConfig
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 TreasuryConfig
impl RefUnwindSafe for TreasuryConfig
impl Send for TreasuryConfig
impl Sync for TreasuryConfig
impl Unpin for TreasuryConfig
impl UnsafeUnpin for TreasuryConfig
impl UnwindSafe for TreasuryConfig
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