pub struct StandardSqlDataType {
pub array_element_type: Option<Option<Box<StandardSqlDataType>>>,
pub range_element_type: Option<Option<Box<StandardSqlDataType>>>,
pub struct_type: Option<StandardSqlStructType>,
pub type_kind: Option<String>,
}Expand description
The data type of a variable such as a function argument. Examples include: * INT64: {"typeKind": "INT64"} * ARRAY: { “typeKind”: “ARRAY”, “arrayElementType”: {“typeKind”: “STRING”} } * STRUCT>: { “typeKind”: “STRUCT”, “structType”: { “fields”: [ { “name”: “x”, “type”: {“typeKind”: “STRING”} }, { “name”: “y”, “type”: { “typeKind”: “ARRAY”, “arrayElementType”: {“typeKind”: “DATE”} } } ] } } * RANGE: { “typeKind”: “RANGE”, “rangeElementType”: {“typeKind”: “DATE”} }
This type is not used in any activity, and only used as part of another schema.
Fields§
§array_element_type: Option<Option<Box<StandardSqlDataType>>>The type of the array’s elements, if type_kind = “ARRAY”.
range_element_type: Option<Option<Box<StandardSqlDataType>>>The type of the range’s elements, if type_kind = “RANGE”.
struct_type: Option<StandardSqlStructType>The fields of this struct, in order, if type_kind = “STRUCT”.
type_kind: Option<String>Required. The top level type of this field. Can be any GoogleSQL data type (e.g., “INT64”, “DATE”, “ARRAY”).
Trait Implementations§
Source§impl Clone for StandardSqlDataType
impl Clone for StandardSqlDataType
Source§fn clone(&self) -> StandardSqlDataType
fn clone(&self) -> StandardSqlDataType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more