Module scylla::macros

source ·

Macros§

Structs§

  • A cheaply cloneable and sliceable chunk of contiguous memory.
  • A unique reference to a contiguous slice of memory.

Traits§

  • A trait for values that provide sequential write access to bytes.

Derive Macros§

  • #[derive(FromRow)] derives FromRow for struct
  • #[derive(FromUserType)] allows to parse struct as a User Defined Type
  • #[derive(IntoUserType)] allows to pass struct a User Defined Type Value in queries
  • Derive macro for the SerializeCql trait which serializes given Rust structure as a User Defined Type (UDT).
  • Derive macro for the SerializeRow trait which serializes given Rust structure into bind markers for a CQL statement.
  • #[derive(ValueList)] allows to pass struct as a list of values for a query