Skip to main content

Crate type_bridge_orm_derive

Crate type_bridge_orm_derive 

Source
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§

TypeBridgeAttribute
Derive TypeBridgeAttribute for a newtype struct.
TypeBridgeEntity
Derive TypeBridgeEntity for a struct with TypeDB attribute fields.
TypeBridgeRelation
Derive TypeBridgeRelation for a struct with role player fields.