Module encoding

Module encoding 

Source
Expand description

A portable encoding for cge Networks. See PortableCGE.

Modules§

v1
Version one of the encoding. See Data and Metadata.

Structs§

CommonMetadata
A metadata type that can be produced from all encoding versions.
WithRecurrentState
Whether to save or load the recurrent state of a Network.

Enums§

Error
An error while loading or saving a Network from/to the encoding.
Extra
User-defined extra data to be serialized or deserialized alongside a Network.
PortableCGE
The portable encoding type, which can be serialized and deserialized to save and load Networks and their metadata.

Traits§

EncodingVersion
A trait implemented by all versioned encoding types.
MetadataVersion
A trait implemented by all versioned metadata types.

Type Aliases§

Data
The latest encoding version.
Metadata
The latest metadata version.