[][src]Struct google_bigquery2::TableFieldSchema

pub struct TableFieldSchema {
    pub name: Option<String>,
    pub fields: Option<Vec<TableFieldSchema>>,
    pub description: Option<String>,
    pub type_: Option<String>,
    pub categories: Option<TableFieldSchemaCategories>,
    pub mode: Option<String>,
}

There is no detailed description.

This type is not used in any activity, and only used as part of another schema.

Fields

name: Option<String>

[Required] The field name. The name must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum length is 128 characters.

fields: Option<Vec<TableFieldSchema>>

[Optional] Describes the nested schema fields if the type property is set to RECORD.

description: Option<String>

[Optional] The field description. The maximum length is 1,024 characters.

type_: Option<String>

[Required] The field data type. Possible values include STRING, BYTES, INTEGER, INT64 (same as INTEGER), FLOAT, FLOAT64 (same as FLOAT), BOOLEAN, BOOL (same as BOOLEAN), TIMESTAMP, DATE, TIME, DATETIME, RECORD (where RECORD indicates that the field contains a nested schema) or STRUCT (same as RECORD).

categories: Option<TableFieldSchemaCategories>

[Optional] The categories attached to this field, used for field-level access control.

mode: Option<String>

[Optional] The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.

Trait Implementations

impl Part for TableFieldSchema[src]

impl Clone for TableFieldSchema[src]

impl Default for TableFieldSchema[src]

impl Debug for TableFieldSchema[src]

impl Serialize for TableFieldSchema[src]

impl<'de> Deserialize<'de> for TableFieldSchema[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T, U> Into<U> for T where
    U: From<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 = !

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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Typeable for T where
    T: Any

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]