Derive Macro dbn_macros::PyFieldDesc

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

Derive macro for field descriptions exposed to Python. Supports the following dbn attributes:

  • fixed_price: indicates this is a fixed-precision field
  • skip: indicates this field should be hidden
  • unix_nanos: indicates this is a UNIX nanosecond timestamp field