pub struct TableFieldSchema {
pub field: Option<String>,
pub fields: Option<Vec<TableFieldSchema>>,
pub mode: Option<String>,
pub type_: Option<String>,
}Expand description
A field in TableSchema.
This type is not used in any activity, and only used as part of another schema.
Fields§
§field: Option<String>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>>Describes the nested schema fields if the type property is set to RECORD.
mode: Option<String>The field mode. Possible values include NULLABLE, REQUIRED and REPEATED. The default value is NULLABLE.
type_: Option<String>The field data type. Possible values include * STRING * BYTES * INTEGER * FLOAT * BOOLEAN * TIMESTAMP * DATE * TIME * DATETIME * GEOGRAPHY, * NUMERIC, * BIGNUMERIC, * RECORD (where RECORD indicates that the field contains a nested schema).
Trait Implementations§
Source§impl Clone for TableFieldSchema
impl Clone for TableFieldSchema
Source§fn clone(&self) -> TableFieldSchema
fn clone(&self) -> TableFieldSchema
Returns a duplicate 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 TableFieldSchema
impl Debug for TableFieldSchema
Source§impl Default for TableFieldSchema
impl Default for TableFieldSchema
Source§fn default() -> TableFieldSchema
fn default() -> TableFieldSchema
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TableFieldSchema
impl<'de> Deserialize<'de> for TableFieldSchema
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 TableFieldSchema
impl Serialize for TableFieldSchema
impl Part for TableFieldSchema
Auto Trait Implementations§
impl Freeze for TableFieldSchema
impl RefUnwindSafe for TableFieldSchema
impl Send for TableFieldSchema
impl Sync for TableFieldSchema
impl Unpin for TableFieldSchema
impl UnwindSafe for TableFieldSchema
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