Example of using a custom attribute in rust