Struct gapi_grpc::google::cloud::bigquery::v2::StandardSqlDataType[][src]

pub struct StandardSqlDataType {
    pub type_kind: i32,
    pub sub_type: Option<SubType>,
}

The type of a variable, e.g., a function argument. Examples: INT64: {type_kind=“INT64”} ARRAY: {type_kind=“ARRAY”, array_element_type=“STRING”} STRUCT<x STRING, y ARRAY>: {type_kind=“STRUCT”, struct_type={fields=[ {name=“x”, type={type_kind=“STRING”}}, {name=“y”, type={type_kind=“ARRAY”, array_element_type=“DATE”}} ]}}

Fields

type_kind: i32

Required. The top level type of this field. Can be any standard SQL data type (e.g., “INT64”, “DATE”, “ARRAY”).

sub_type: Option<SubType>

Implementations

impl StandardSqlDataType[src]

pub fn type_kind(&self) -> TypeKind[src]

Returns the enum value of type_kind, or the default if the field is set to an invalid enum value.

pub fn set_type_kind(&mut self, value: TypeKind)[src]

Sets type_kind to the provided enum value.

Trait Implementations

impl Clone for StandardSqlDataType[src]

impl Debug for StandardSqlDataType[src]

impl Default for StandardSqlDataType[src]

impl Message for StandardSqlDataType[src]

impl PartialEq<StandardSqlDataType> for StandardSqlDataType[src]

impl StructuralPartialEq for StandardSqlDataType[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]