Struct google_api_proto::google::cloud::clouddms::v1::ColumnEntity
source · pub struct ColumnEntity {Show 18 fields
pub name: String,
pub data_type: String,
pub charset: String,
pub collation: String,
pub length: i64,
pub precision: i32,
pub scale: i32,
pub fractional_seconds_precision: i32,
pub array: bool,
pub array_length: i32,
pub nullable: bool,
pub auto_generated: bool,
pub udt: bool,
pub custom_features: Option<Struct>,
pub set_values: Vec<String>,
pub comment: String,
pub ordinal_position: i32,
pub default_value: String,
}
Expand description
Column is not used as an independent entity, it is retrieved as part of a Table entity.
Fields§
§name: String
Column name.
data_type: String
Column data type.
charset: String
Charset override - instead of table level charset.
collation: String
Collation override - instead of table level collation.
length: i64
Column length - e.g. varchar (50).
precision: i32
Column precision - when relevant.
scale: i32
Column scale - when relevant.
fractional_seconds_precision: i32
Column fractional second precision - used for timestamp based datatypes.
array: bool
Is the column of array type.
array_length: i32
If the column is array, of which length.
nullable: bool
Is the column nullable.
auto_generated: bool
Is the column auto-generated/identity.
udt: bool
Is the column a UDT.
custom_features: Option<Struct>
Custom engine specific features.
set_values: Vec<String>
Specifies the list of values allowed in the column. Only used for set data type.
comment: String
Comment associated with the column.
ordinal_position: i32
Column order in the table.
default_value: String
Default value of the column.
Trait Implementations§
source§impl Clone for ColumnEntity
impl Clone for ColumnEntity
source§fn clone(&self) -> ColumnEntity
fn clone(&self) -> ColumnEntity
Returns a copy 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 ColumnEntity
impl Debug for ColumnEntity
source§impl Default for ColumnEntity
impl Default for ColumnEntity
source§impl Message for ColumnEntity
impl Message for ColumnEntity
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
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,
Encodes the message to a buffer. Read more
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
Encodes the message to a newly allocated buffer.
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,
Encodes the message with a length-delimiter to a buffer. Read more
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,
Encodes the message with a length-delimiter to a newly allocated buffer.
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
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,
Decodes a length-delimited instance of the message from the buffer.
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,
Decodes an instance of the message from a buffer, and merges it into
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,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self
.source§impl PartialEq for ColumnEntity
impl PartialEq for ColumnEntity
source§fn eq(&self, other: &ColumnEntity) -> bool
fn eq(&self, other: &ColumnEntity) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ColumnEntity
Auto Trait Implementations§
impl Freeze for ColumnEntity
impl RefUnwindSafe for ColumnEntity
impl Send for ColumnEntity
impl Sync for ColumnEntity
impl Unpin for ColumnEntity
impl UnwindSafe for ColumnEntity
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
§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>
Wrap the input message
T
in a tonic::Request