ForyRow

Derive Macro ForyRow 

Source
#[derive(ForyRow)]
Expand description

Derive macro for row-based serialization.

This macro generates code to implement the Row trait for the annotated type, enabling zero-copy deserialization for maximum performance in high-throughput scenarios.

ยงExample

use fory_derive::ForyRow;

#[derive(ForyRow)]
struct UserProfile {
    id: i64,
    username: String,
    email: String,
    is_active: bool,
}