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:
c_char: indicates the field dtype should be a single-character string rather than an integerencode_order: overrides the position of the field in the ordered listfixed_price: indicates this is a fixed-precision fieldskip: indicates this field should be hiddenunix_nanos: indicates this is a UNIX nanosecond timestamp field