SerializeVersion

Derive Macro SerializeVersion 

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

Derive a SerializeVersion implementation, defaulting to version 1.

A custom version number can be specified as a positive integer with the esrc(serde(version)) attribute.