Struct google_bigquery2::api::StandardSqlDataType
source · pub struct StandardSqlDataType {
pub array_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”} } } ] } }
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”.
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 standard SQL 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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for StandardSqlDataType
impl Debug for StandardSqlDataType
source§impl Default for StandardSqlDataType
impl Default for StandardSqlDataType
source§fn default() -> StandardSqlDataType
fn default() -> StandardSqlDataType
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for StandardSqlDataType
impl<'de> Deserialize<'de> for StandardSqlDataType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for StandardSqlDataType
impl Serialize for StandardSqlDataType
impl Part for StandardSqlDataType
Auto Trait Implementations§
impl RefUnwindSafe for StandardSqlDataType
impl Send for StandardSqlDataType
impl Sync for StandardSqlDataType
impl Unpin for StandardSqlDataType
impl UnwindSafe for StandardSqlDataType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more