Struct google_api_proto::google::cloud::clouddms::v1::SingleColumnChange
source · pub struct SingleColumnChange {Show 15 fields
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,
}
Expand description
Options to configure rule type SingleColumnChange. The rule is used to change the properties of a column.
The rule filter field can refer to one entity.
The rule scope can be one of: Column.
When using this rule, if a field is not specified than the destination column’s configuration will be the same as the one in the source column..
Fields§
§data_type: String
Optional. Column data type name.
charset: String
Optional. Charset override - instead of table level charset.
collation: String
Optional. Collation override - instead of table level collation.
length: i64
Optional. Column length - e.g. 50 as in varchar (50) - when relevant.
precision: i32
Optional. Column precision - e.g. 8 as in double (8,2) - when relevant.
scale: i32
Optional. Column scale - e.g. 2 as in double (8,2) - when relevant.
fractional_seconds_precision: i32
Optional. Column fractional seconds precision - e.g. 2 as in timestamp (2)
- when relevant.
array: bool
Optional. Is the column of array type.
array_length: i32
Optional. The length of the array, only relevant if the column type is an array.
nullable: bool
Optional. Is the column nullable.
auto_generated: bool
Optional. Is the column auto-generated/identity.
udt: bool
Optional. Is the column a UDT (User-defined Type).
custom_features: Option<Struct>
Optional. Custom engine specific features.
set_values: Vec<String>
Optional. Specifies the list of values allowed in the column.
comment: String
Optional. Comment associated with the column.
Trait Implementations§
source§impl Clone for SingleColumnChange
impl Clone for SingleColumnChange
source§fn clone(&self) -> SingleColumnChange
fn clone(&self) -> SingleColumnChange
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SingleColumnChange
impl Debug for SingleColumnChange
source§impl Default for SingleColumnChange
impl Default for SingleColumnChange
source§impl Message for SingleColumnChange
impl Message for SingleColumnChange
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 SingleColumnChange
impl PartialEq for SingleColumnChange
source§fn eq(&self, other: &SingleColumnChange) -> bool
fn eq(&self, other: &SingleColumnChange) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SingleColumnChange
Auto Trait Implementations§
impl Freeze for SingleColumnChange
impl RefUnwindSafe for SingleColumnChange
impl Send for SingleColumnChange
impl Sync for SingleColumnChange
impl Unpin for SingleColumnChange
impl UnwindSafe for SingleColumnChange
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