athena_rs 3.26.4

Hyper performant polyglot Database driver
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Relation-table response contracts.
//!
//! This module contains payload contracts returned by the schema tables endpoint.

use serde::Serialize;

/// Lightweight relation metadata returned by `/schema/tables`.
#[derive(Serialize)]
pub struct SchemaTable {
    /// Schema that owns the relation.
    pub table_schema: String,
    /// Relation name.
    pub table_name: String,
    /// Relation type (`BASE TABLE` or `VIEW`).
    pub relation_type: String,
    /// Convenience flag indicating whether the relation is a view.
    pub is_view: bool,
}