Add AsRef impl for all types that wrap other types
leighmcculloch opened this issue · 0 comments
leighmcculloch commented
Many of the types in the XDR wrap other types. For example, AccountId
wraps PublicKey
without any other fields. For types that work like this, we already implement the From<>
trait in both directions. It would also be convenient if all these types had AsRef implementations in both directions.