Struct google_api_proto::google::cloud::clouddms::v1::MultiEntityRename
source · pub struct MultiEntityRename {
pub new_name_pattern: String,
pub source_name_transformation: i32,
}
Expand description
Options to configure rule type MultiEntityRename. The rule is used to rename multiple entities.
The rule filter field can refer to one or more entities.
The rule scope can be one of: Database, Schema, Table, Column, Constraint, Index, View, Function, Stored Procedure, Materialized View, Sequence, UDT
Fields§
§new_name_pattern: String
Optional. The pattern used to generate the new entity’s name. This pattern must include the characters ‘{name}’, which will be replaced with the name of the original entity. For example, the pattern ‘t_{name}’ for an entity name jobs would be converted to ‘t_jobs’.
If unspecified, the default value for this field is ‘{name}’
source_name_transformation: i32
Optional. Additional transformation that can be done on the source entity name before it is being used by the new_name_pattern, for example lower case. If no transformation is desired, use NO_TRANSFORMATION
Implementations§
source§impl MultiEntityRename
impl MultiEntityRename
sourcepub fn source_name_transformation(&self) -> EntityNameTransformation
pub fn source_name_transformation(&self) -> EntityNameTransformation
Returns the enum value of source_name_transformation
, or the default if the field is set to an invalid enum value.
sourcepub fn set_source_name_transformation(
&mut self,
value: EntityNameTransformation,
)
pub fn set_source_name_transformation( &mut self, value: EntityNameTransformation, )
Sets source_name_transformation
to the provided enum value.
Trait Implementations§
source§impl Clone for MultiEntityRename
impl Clone for MultiEntityRename
source§fn clone(&self) -> MultiEntityRename
fn clone(&self) -> MultiEntityRename
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MultiEntityRename
impl Debug for MultiEntityRename
source§impl Default for MultiEntityRename
impl Default for MultiEntityRename
source§impl Message for MultiEntityRename
impl Message for MultiEntityRename
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 MultiEntityRename
impl PartialEq for MultiEntityRename
source§fn eq(&self, other: &MultiEntityRename) -> bool
fn eq(&self, other: &MultiEntityRename) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MultiEntityRename
Auto Trait Implementations§
impl Freeze for MultiEntityRename
impl RefUnwindSafe for MultiEntityRename
impl Send for MultiEntityRename
impl Sync for MultiEntityRename
impl Unpin for MultiEntityRename
impl UnwindSafe for MultiEntityRename
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