Expand description
Derive macros for the type-bridge-orm crate.
Provides #[derive(TypeBridgeAttribute)], #[derive(TypeBridgeEntity)],
and #[derive(TypeBridgeRelation)] to eliminate manual trait implementations.
Macros§
- include_
schema - Generate Rust model types from a TypeQL schema file at compile time.
Derive Macros§
- Type
Bridge Attribute - Derive
TypeBridgeAttributefor a newtype struct. - Type
Bridge Entity - Derive
TypeBridgeEntityfor a struct with TypeDB attribute fields. - Type
Bridge Relation - Derive
TypeBridgeRelationfor a struct with role player fields.