pub struct MappingRuleFilter {
pub entities: Option<Vec<String>>,
pub entity_name_contains: Option<String>,
pub entity_name_prefix: Option<String>,
pub entity_name_suffix: Option<String>,
pub parent_entity: Option<String>,
}
Expand description
A filter defining the entities that a mapping rule should be applied to. When more than one field is specified, the rule is applied only to entities which match all the fields.
This type is not used in any activity, and only used as part of another schema.
Fields§
§entities: Option<Vec<String>>
Optional. The rule should be applied to specific entities defined by their fully qualified names.
entity_name_contains: Option<String>
Optional. The rule should be applied to entities whose non-qualified name contains the given string.
entity_name_prefix: Option<String>
Optional. The rule should be applied to entities whose non-qualified name starts with the given prefix.
entity_name_suffix: Option<String>
Optional. The rule should be applied to entities whose non-qualified name ends with the given suffix.
parent_entity: Option<String>
Optional. The rule should be applied to entities whose parent entity (fully qualified name) matches the given value. For example, if the rule applies to a table entity, the expected value should be a schema (schema). If the rule applies to a column or index entity, the expected value can be either a schema (schema) or a table (schema.table)
Trait Implementations§
Source§impl Clone for MappingRuleFilter
impl Clone for MappingRuleFilter
Source§fn clone(&self) -> MappingRuleFilter
fn clone(&self) -> MappingRuleFilter
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for MappingRuleFilter
impl Debug for MappingRuleFilter
Source§impl Default for MappingRuleFilter
impl Default for MappingRuleFilter
Source§fn default() -> MappingRuleFilter
fn default() -> MappingRuleFilter
Source§impl<'de> Deserialize<'de> for MappingRuleFilter
impl<'de> Deserialize<'de> for MappingRuleFilter
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 MappingRuleFilter
impl Serialize for MappingRuleFilter
impl Part for MappingRuleFilter
Auto Trait Implementations§
impl Freeze for MappingRuleFilter
impl RefUnwindSafe for MappingRuleFilter
impl Send for MappingRuleFilter
impl Sync for MappingRuleFilter
impl Unpin for MappingRuleFilter
impl UnwindSafe for MappingRuleFilter
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