#[diagnostic::on_unimplemented(
message = "the `serde` integration needs `queryweave-api`'s `serde` feature",
label = "`queryweave-api` is built without its `serde` feature",
note = "enable it: `queryweave-api = {{ version = \"..\", features = [\"serde\"] }}`"
)]
pub trait Serde {}
#[cfg(feature = "serde")]
impl Serde for crate::SortDirectionDto {}
#[diagnostic::on_unimplemented(
message = "the `utoipa` integration needs `queryweave-api`'s `utoipa` feature",
label = "`queryweave-api` is built without its `utoipa` feature",
note = "enable it: `queryweave-api = {{ version = \"..\", features = [\"utoipa\"] }}`"
)]
pub trait Utoipa {}
#[cfg(feature = "utoipa")]
impl Utoipa for crate::SortDirectionDto {}
#[diagnostic::on_unimplemented(
message = "the `schemars` integration needs `queryweave-api`'s `schemars` feature",
label = "`queryweave-api` is built without its `schemars` feature",
note = "enable it: `queryweave-api = {{ version = \"..\", features = [\"schemars\"] }}`"
)]
pub trait Schemars {}
#[cfg(feature = "schemars")]
impl Schemars for crate::SortDirectionDto {}