pub struct HedgingSchemaConfig {
pub enabled: bool,
pub hedge_ratio: f64,
pub instruments: Vec<String>,
pub hedge_accounting: bool,
pub effectiveness_method: String,
}Expand description
Hedging configuration.
Controls generation of hedging instruments and hedge relationship designations under ASC 815 / IFRS 9.
Fields§
§enabled: boolWhether hedging generation is enabled.
hedge_ratio: f64Target hedge ratio (0.0 to 1.0). Proportion of FX exposure to hedge.
instruments: Vec<String>Types of instruments to generate (e.g., [“fx_forward”, “interest_rate_swap”]).
hedge_accounting: boolWhether to designate formal hedge accounting relationships.
effectiveness_method: StringEffectiveness testing method: “dollar_offset”, “regression”, or “critical_terms”.
Trait Implementations§
Source§impl Clone for HedgingSchemaConfig
impl Clone for HedgingSchemaConfig
Source§fn clone(&self) -> HedgingSchemaConfig
fn clone(&self) -> HedgingSchemaConfig
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 HedgingSchemaConfig
impl Debug for HedgingSchemaConfig
Source§impl Default for HedgingSchemaConfig
impl Default for HedgingSchemaConfig
Source§impl<'de> Deserialize<'de> for HedgingSchemaConfig
impl<'de> Deserialize<'de> for HedgingSchemaConfig
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 HedgingSchemaConfig
impl RefUnwindSafe for HedgingSchemaConfig
impl Send for HedgingSchemaConfig
impl Sync for HedgingSchemaConfig
impl Unpin for HedgingSchemaConfig
impl UnsafeUnpin for HedgingSchemaConfig
impl UnwindSafe for HedgingSchemaConfig
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