Function converted_cashflow_records
pub(crate) fn converted_cashflow_records<R: Scalar>(
legs: &[&Leg],
disc: &dyn YieldCurve<R>,
curves: &dyn CurveByIndex<R>,
fixings: &FixingsView<'_, R>,
as_of: NaiveDate,
conversions: &[Option<Conversion>],
) -> Result<Records, CashflowError>