Struct google_api_proto::google::area120::tables::v1alpha1::ColumnDescription
source · pub struct ColumnDescription {
pub name: String,
pub data_type: String,
pub id: String,
pub labels: Vec<LabeledItem>,
pub relationship_details: Option<RelationshipDetails>,
pub lookup_details: Option<LookupDetails>,
}
Expand description
Details on a column in the table.
Fields§
§name: String
column name
data_type: String
Data type of the column Supported types are auto_id, boolean, boolean_list, creator, create_timestamp, date, dropdown, location, integer, integer_list, number, number_list, person, person_list, tags, check_list, text, text_list, update_timestamp, updater, relationship, file_attachment_list. These types directly map to the column types supported on Tables website.
id: String
Internal id for a column.
labels: Vec<LabeledItem>
Optional. Range of labeled values for the column. Some columns like tags and drop-downs limit the values to a set of possible values. We return the range of values in such cases to help clients implement better user data validation.
relationship_details: Option<RelationshipDetails>
Optional. Additional details about a relationship column. Specified when data_type is relationship.
lookup_details: Option<LookupDetails>
Optional. Indicates that this is a lookup column whose value is derived from the relationship column specified in the details. Lookup columns can not be updated directly. To change the value you must update the associated relationship column.
Trait Implementations§
source§impl Clone for ColumnDescription
impl Clone for ColumnDescription
source§fn clone(&self) -> ColumnDescription
fn clone(&self) -> ColumnDescription
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ColumnDescription
impl Debug for ColumnDescription
source§impl Default for ColumnDescription
impl Default for ColumnDescription
source§impl Message for ColumnDescription
impl Message for ColumnDescription
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for ColumnDescription
impl PartialEq for ColumnDescription
source§fn eq(&self, other: &ColumnDescription) -> bool
fn eq(&self, other: &ColumnDescription) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ColumnDescription
Auto Trait Implementations§
impl Freeze for ColumnDescription
impl RefUnwindSafe for ColumnDescription
impl Send for ColumnDescription
impl Sync for ColumnDescription
impl Unpin for ColumnDescription
impl UnwindSafe for ColumnDescription
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request