Attribute Macros

Export the function as the heartbeat hook of the canister.

Export the function as the init hook of the canister.

Export the function as the inspect_message hook of the canister.

Export the function as the post_upgrade hook of the canister.

Export the function as the pre_upgrade hook of the canister.

Export a query method for the canister.

Export an update method for the canister.