Skip to main content

Module features

Module features 

Source
Expand description

Which of this crate’s features are enabled, for the code generated for a mirror to check.

An integration naming this crate’s types (e.g. serde, whose mirror’s sort details hold a SortDirectionDto) needs the feature of the same name, which derives its traits on them. Each feature has a trait here, implemented for SortDirectionDto only when the feature is enabled; a mirror opting into the integration requires it, so a disabled feature is reported at the mirror’s flag, naming the feature to enable, rather than only as traits missing on SortDirectionDto.

Traits§

Schemars
Implemented when the schemars feature is enabled.
Serde
Implemented when the serde feature is enabled.
Utoipa
Implemented when the utoipa feature is enabled.