Derive Macrosยง
- Manifest
Categorize - Derives code for categorizing a struct or enum with Manifest value model.
- Manifest
Decode - Derives code for decoding a struct or enum with Manifest value model.
- Manifest
Encode - Derives code for encoding a struct or enum with Manifest value model.
- Manifest
Sbor - A shortcut for
ManifestCategorize
,ManifestEncode
andManifestDecode
derives. - Scrypto
Categorize - Derives code for categorizing a struct or enum with Scrypto value model.
- Scrypto
Decode - Derives code for decoding a struct or enum with Scrypto value model.
- Scrypto
Describe - Derives code for describing a struct or enum with Scrypto schema.
- Scrypto
Encode - Derives code for encoding a struct or enum with Scrypto value model.
- Scrypto
Event - Derive code for implementing the required logic to mark a type as being an event.
- Scrypto
Sbor - A shortcut for
ScryptoCategorize
,ScryptoEncode
,ScryptoDecode
, andScryptoDescribe
derives. - Scrypto
Sbor Assertion - A macro for outputting tests and marker traits to assert that a type has maintained its shape over time.