i am having this svelte icp project where collections file uses most data from icp :
i am rewriting this code in rust, where i have added all did files, generated them indde canister folder and uses state for cans auth:
i want to use the data that is collection metadata in the collections.rs file in rust , i need help discussing how can i use the did files and state and canister folder code to fetch the data from it and use in collections.