In JS/TS I can decode an account from bytes using the coder:
const program = new Program(IDL, new PublicKey(""), anchorProvider)
const decoded = program.coder.accounts.decode("accountName", buffer)
How can I do something similar in a Rust client, assuming I have access to the Anchor IDL?