Module concordium_std::schema[][src]

Types related to contract schemas. These are optional annotations in modules that allow the users of smart contracts to interact with them in a way that is better than constructing raw bytes as parameters.

Structs

Contract

Describes all the schemas of a smart contract.

Module

Contains all the contract schemas for a module

Enums

Fields

Schema for the fields of a struct or some enum variant.

SizeLength

Type of the variable used to encode the length of Sets, List, Maps

Type

Schema type used to describe the different types in a rust smart contract.

Traits

SchemaType

The SchemaType trait provides means to generate a schema for structures. Schemas are used to make structures human readable and to avoid dealing directly with bytes, such as the contract state or parameters for contract interaction.