private_fields

Attribute Macro private_fields 

Source
#[private_fields]
Expand description

A procedural macro to assert that all fields in a struct are private.