pub struct ConditionalColumnSetValue {
pub custom_features: Option<HashMap<String, Value>>,
pub source_numeric_filter: Option<SourceNumericFilter>,
pub source_text_filter: Option<SourceTextFilter>,
pub value_transformation: Option<ValueTransformation>,
}
Expand description
Options to configure rule type ConditionalColumnSetValue. The rule is used to transform the data which is being replicated/migrated. The rule filter field can refer to one or more entities. The rule scope can be one of: Column.
This type is not used in any activity, and only used as part of another schema.
Fields§
§custom_features: Option<HashMap<String, Value>>
Optional. Custom engine specific features.
source_numeric_filter: Option<SourceNumericFilter>
Optional. Optional filter on source column precision and scale. Used for fixed point numbers such as NUMERIC/NUMBER data types.
source_text_filter: Option<SourceTextFilter>
Optional. Optional filter on source column length. Used for text based data types like varchar.
value_transformation: Option<ValueTransformation>
Required. Description of data transformation during migration.
Trait Implementations§
Source§impl Clone for ConditionalColumnSetValue
impl Clone for ConditionalColumnSetValue
Source§fn clone(&self) -> ConditionalColumnSetValue
fn clone(&self) -> ConditionalColumnSetValue
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ConditionalColumnSetValue
impl Debug for ConditionalColumnSetValue
Source§impl Default for ConditionalColumnSetValue
impl Default for ConditionalColumnSetValue
Source§fn default() -> ConditionalColumnSetValue
fn default() -> ConditionalColumnSetValue
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConditionalColumnSetValue
impl<'de> Deserialize<'de> for ConditionalColumnSetValue
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for ConditionalColumnSetValue
Auto Trait Implementations§
impl Freeze for ConditionalColumnSetValue
impl RefUnwindSafe for ConditionalColumnSetValue
impl Send for ConditionalColumnSetValue
impl Sync for ConditionalColumnSetValue
impl Unpin for ConditionalColumnSetValue
impl UnwindSafe for ConditionalColumnSetValue
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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