Unpack

Derive Macro Unpack 

Source
#[derive(Unpack)]
{
    // Attributes available to this derive:
    #[senax]
}
Expand description

Derive macro for implementing the Unpack trait (Unpacker only)

This procedural macro automatically generates an implementation of the Unpacker trait for structs and enums. It provides compact deserialization that matches the Pack format.

ยงExamples

#[derive(Unpack)]
struct MyStruct {
    field1: i32,
    field2: String,
}