display what accouting would create
This commit is contained in:
Binary file not shown.
@@ -431,7 +431,7 @@ pub struct ListColumnTypesResponse {
|
||||
/// Nested message and enum types in `ListColumnTypesResponse`.
|
||||
pub mod list_column_types_response {
|
||||
/// One column type and everything a client needs to know to offer it.
|
||||
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
|
||||
#[derive(Clone, PartialEq, ::prost::Message)]
|
||||
pub struct ColumnType {
|
||||
/// Logical column type (e.g. "money", "instant"). Passed to the server as
|
||||
/// ColumnDefinition.field_type — see `spelling`, which is what says whether
|
||||
@@ -474,6 +474,35 @@ pub mod list_column_types_response {
|
||||
/// Empty when the type stands on its own.
|
||||
#[prost(string, tag = "9")]
|
||||
pub group: ::prost::alloc::string::String,
|
||||
/// What this type expands into, in the order the server creates the
|
||||
/// columns. Populated for compound types only, where the generated names
|
||||
/// are fixed; empty for every other type, including the ones whose
|
||||
/// companions are named after the declared column (phone, iban).
|
||||
///
|
||||
/// A picker offering a compound type shows these, so choosing it is not a
|
||||
/// blind choice. The columns stay the server's to create — none of them may
|
||||
/// be declared.
|
||||
#[prost(message, repeated, tag = "10")]
|
||||
pub generated_columns: ::prost::alloc::vec::Vec<column_type::GeneratedColumn>,
|
||||
}
|
||||
/// Nested message and enum types in `ColumnType`.
|
||||
pub mod column_type {
|
||||
/// One column a compound type expands into.
|
||||
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
|
||||
pub struct GeneratedColumn {
|
||||
/// Name the server gives the column. Fixed, and reserved: a table
|
||||
/// declaring a compound type may not also declare a column of this name.
|
||||
#[prost(string, tag = "1")]
|
||||
pub name: ::prost::alloc::string::String,
|
||||
/// The generated column's own logical type, as this same catalog
|
||||
/// describes it.
|
||||
#[prost(string, tag = "2")]
|
||||
pub field_type: ::prost::alloc::string::String,
|
||||
/// Whether the generated column carries the currency and rounding
|
||||
/// declared on the definition row.
|
||||
#[prost(bool, tag = "3")]
|
||||
pub inherits_currency: bool,
|
||||
}
|
||||
}
|
||||
}
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)]
|
||||
|
||||
Reference in New Issue
Block a user