Function swap_index_code
pub fn swap_index_code(template: &AnyTemplate) -> Option<String>Expand description
The registered index code a swap template’s floating leg projects on, or
None for a template that is not a swap.
An OIS template carries its index by name and currency; the registry is searched for the overnight index that matches. A vanilla template carries the index itself.