Skip to main content

Module serde

Module serde 

Source
Expand description

Serde serialization/ deserialization helpers.

These are used in combination with the serde_as annotation on AST types.

Structs§

AsId
Serialises the object’s ID. The actual data is NOT stored.
ObjId
A unique id, used to distinguish between objects of the same type.
PtrAsInner
Serialises a shared pointer to some object x as a tuple (ID, X), where:

Traits§

DefaultWithId
A type that can be created with default values and an id.
HasId
A type with an [ObjectId].