Unified borrow-interest record (margin interest accrued on a borrow).
Distinct from BorrowRate — it carries accrued interest and the borrowed
amount, not a periodic rate (review #7: fetchBorrowInterest was wrongly
mapped to BorrowRate).
Unified currency-conversion record (fetchConvertQuote, createConvertTrade,
fetchConvertTrade, and each row of fetchConvertTradeHistory). Mirrors the
TS Conversion interface.
Unified deposit/withdraw fee for one currency (fetchDepositWithdrawFee,
and each value of fetchDepositWithdrawFees). Mirrors the TS
DepositWithdrawFee interface: a currency-level withdraw/deposit pair
plus the same pair per network under networks.
One leg of a DepositWithdrawFee — the fee for a deposit or a withdrawal,
and whether it is a percentage of the amount (vs. a flat fee). Mirrors the
TS DepositWithdrawFeeNetwork interface.
One historical funding-rate sample (each row of fetchFundingRateHistory).
Mirrors the TS FundingRateHistory interface. Distinct from
FundingRate, which is the live snapshot with next/previous rates.
Unified isolated-margin borrow rate — one entry per symbol with a rate for
each leg (fetchIsolatedBorrowRate, and each value of
fetchIsolatedBorrowRates). Mirrors the TS IsolatedBorrowRate interface.
Distinct from BorrowRate (cross-margin, single currency/rate), whose
decoder would leave every field of an isolated rate None.
Unified margin modification — the result of addMargin / reduceMargin /
setMargin, and each row of fetchMarginAdjustmentHistory. Mirrors the TS
MarginModification interface (ts/src/base/types.ts).
Unified option-contract snapshot (fetchOption, and each value of
fetchOptionChain). Named OptionContract because Option collides with
core::option::Option. Mirrors the TS Option interface.
Walk a Value::Dict of <key> → Value and decode each value with
the supplied from_value constructor. Returns an empty map on a
non-dict input — matches the lenient fallback semantics of the
individual from_value impls.