Struct gapi_grpc::google::cloud::bigquery::storage::v1beta2::TableFieldSchema[][src]

pub struct TableFieldSchema {
    pub name: String,
    pub type: i32,
    pub mode: i32,
    pub fields: Vec<TableFieldSchema>,
    pub description: String,
}

A field in TableSchema

Fields

name: 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.

type: i32

Required. The field data type.

mode: i32

Optional. The field mode. The default value is NULLABLE.

fields: Vec<TableFieldSchema>

Optional. Describes the nested schema fields if the type property is set to STRUCT.

description: String

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

Implementations

impl TableFieldSchema[src]

pub fn type(&self) -> Type[src]

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

pub fn set_type(&mut self, value: Type)[src]

Sets type to the provided enum value.

pub fn mode(&self) -> Mode[src]

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

pub fn set_mode(&mut self, value: Mode)[src]

Sets mode to the provided enum value.

Trait Implementations

impl Clone for TableFieldSchema[src]

impl Debug for TableFieldSchema[src]

impl Default for TableFieldSchema[src]

impl Message for TableFieldSchema[src]

impl PartialEq<TableFieldSchema> for TableFieldSchema[src]

impl StructuralPartialEq for TableFieldSchema[src]

Auto Trait Implementations

impl RefUnwindSafe for TableFieldSchema

impl Send for TableFieldSchema

impl Sync for TableFieldSchema

impl Unpin for TableFieldSchema

impl UnwindSafe for TableFieldSchema

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]