Struct google_api_proto::google::cloud::clouddms::v1::MultiColumnDatatypeChange
source · pub struct MultiColumnDatatypeChange {
pub source_data_type_filter: String,
pub new_data_type: String,
pub override_length: i64,
pub override_scale: i32,
pub override_precision: i32,
pub override_fractional_seconds_precision: i32,
pub custom_features: Option<Struct>,
pub source_filter: Option<SourceFilter>,
}
Expand description
Options to configure rule type MultiColumnDatatypeChange. The rule is used to change the data type and associated properties of multiple columns at once.
The rule filter field can refer to one or more entities.
The rule scope can be one of:Column.
This rule requires additional filters to be specified beyond the basic rule filter field, which is the source data type, but the rule supports additional filtering capabilities such as the minimum and maximum field length. All additional filters which are specified are required to be met in order for the rule to be applied (logical AND between the fields).
Fields§
§source_data_type_filter: String
Required. Filter on source data type.
new_data_type: String
Required. New data type.
override_length: i64
Optional. Column length - e.g. varchar (50) - if not specified and relevant uses the source column length.
override_scale: i32
Optional. Column scale - when relevant - if not specified and relevant uses the source column scale.
override_precision: i32
Optional. Column precision - when relevant - if not specified and relevant uses the source column precision.
override_fractional_seconds_precision: i32
Optional. Column fractional seconds precision - used only for timestamp based datatypes - if not specified and relevant uses the source column fractional seconds precision.
custom_features: Option<Struct>
Optional. Custom engine specific features.
source_filter: Option<SourceFilter>
Filter on source column parameters.
Trait Implementations§
source§impl Clone for MultiColumnDatatypeChange
impl Clone for MultiColumnDatatypeChange
source§fn clone(&self) -> MultiColumnDatatypeChange
fn clone(&self) -> MultiColumnDatatypeChange
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MultiColumnDatatypeChange
impl Debug for MultiColumnDatatypeChange
source§impl Default for MultiColumnDatatypeChange
impl Default for MultiColumnDatatypeChange
source§impl Message for MultiColumnDatatypeChange
impl Message for MultiColumnDatatypeChange
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
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<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
. Read moresource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
.source§impl PartialEq for MultiColumnDatatypeChange
impl PartialEq for MultiColumnDatatypeChange
source§fn eq(&self, other: &MultiColumnDatatypeChange) -> bool
fn eq(&self, other: &MultiColumnDatatypeChange) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MultiColumnDatatypeChange
Auto Trait Implementations§
impl Freeze for MultiColumnDatatypeChange
impl RefUnwindSafe for MultiColumnDatatypeChange
impl Send for MultiColumnDatatypeChange
impl Sync for MultiColumnDatatypeChange
impl Unpin for MultiColumnDatatypeChange
impl UnwindSafe for MultiColumnDatatypeChange
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