pub struct MultiEntityRename {
pub new_name_pattern: Option<String>,
pub source_name_transformation: Option<String>,
}
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
This type is not used in any activity, and only used as part of another schema.
Fields§
§new_name_pattern: Option<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: Option<String>
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
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§fn default() -> MultiEntityRename
fn default() -> MultiEntityRename
Source§impl<'de> Deserialize<'de> for MultiEntityRename
impl<'de> Deserialize<'de> for MultiEntityRename
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for MultiEntityRename
impl Serialize for MultiEntityRename
impl Part 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more