How to convert ContractId to AssetId in the rust SDK

This question was answered in another post: