Crate agdb_derive

Source

Attribute Macros§

impl_def

Derive Macros§

AgdbDeSerialize
The derive macro to add agdb platform agnostic serialization support. This is only needed if you want to serialize custom complex data structures and do not want or cannot use serde. It is primarily used internally to serialize the agdb data structures.
ApiDef
UserValue
The derive macro to add agdb compatibility to user defined types. It implements [agdb::DbUserValue] for the type automatically to allow your type to be read and stored from/to the database.
UserValueMarker
The helper derive macro to add agdb compatibility to user defined types. This type provides blank implementation of the agdb::DbUserValueMarker trait. This is needed for the vectorized custom values to be compatible with the database as the From trait implementation witohut it conflicts with the blanket implementations.