1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
//! Column query contracts. //! //! This module contains query DTOs for `/schema/columns`. use serde::Deserialize; /// Query parameters accepted by `/schema/columns`. #[derive(Deserialize)] pub(in super::super) struct ColumnQuery { /// Table name. pub(in super::super) table_name: String, /// Optional schema filter to avoid ambiguous cross-schema matches. #[serde(default)] pub(in super::super) table_schema: Option<String>, }