Module serde

Source
Expand description

Serde serialization/ deserialization helpers.

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

Structs§

RcRefCellAsId
De/Serialize an Rc<RefCell<T>> as the id of the inner value T.
RcRefCellAsInner
De/Serialize an Rc<RefCell<T>> as its inner value T.

Traits§

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

Type Aliases§

ObjId
A unique id, used to distinguish between objects of the same type.