Crate scyllax_macros

source ·
Expand description

Macros supporting scyllax.

See the scyllax docs for more information.

Macros§

Attribute Macros§

  • Shorthand for applying derive macros on an entity. Essentially:
  • Sets up a scylla-and-protobuf compatible enum.
  • Shorthand for applying derive macros on a JSON body. Essentially:
  • Apply this attribute to a entity struct to generate an upsert query.
  • Apply this attribute to a struct to generate a write query.

Derive Macros§