Expand description
Transforms a Candid ID into a valid Rust ID (as a string).
In case a string cannot be used as an ID in Rust, this will replace it with a
IDL Hash value of the ID, surrounged by _
(e.g. _12345_
).
If the string is a valid Rust
Transforms a Candid ID into a valid Rust ID (as a string).
In case a string cannot be used as an ID in Rust, this will replace it with a
IDL Hash value of the ID, surrounged by _
(e.g. _12345_
).
If the string is a valid Rust