Derive Macro scylla::macros::FromRow

source ·
#[derive(FromRow)]
{
    // Attributes available to this derive:
    #[scylla_crate]
}
Expand description

Derive macro for the FromRow trait which deserializes a row to given Rust structure.

It is supported for structs with either named or unnamed fields. It works only for simple structs without generics etc.


Documentation for this macro can only be found in scylla crate - not in scylla-macros nor in scylla-cql. This is because of rustdocs limitations that are hard to explain here.