Skip to main content

Module denied_reason

Module denied_reason 

Source
Expand description

Standardized reasons for local order denial.

OrderDeniedReason is the single source of truth for the CATEGORY_CONDITION codes attached to OrderDenied events. Each variant renders, via std::fmt::Display, to a message whose leading token is the stable code followed by key=value context. The companion OrderDeniedCode enum (generated by strum) enumerates the codes without their per-denial context, so documentation and grouping can iterate the closed set.

Structs§

OrderDeniedCodeIter
An iterator over the variants of OrderDeniedCode

Enums§

OrderDeniedCode
Auto-generated discriminant enum variants
OrderDeniedReason
A standardized reason an order was denied locally by the Nautilus system.