pub struct ValueTransformation {
pub apply_hash: Option<ApplyHash>,
pub assign_max_value: Option<Empty>,
pub assign_min_value: Option<Empty>,
pub assign_null: Option<Empty>,
pub assign_specific_value: Option<AssignSpecificValue>,
pub double_comparison: Option<DoubleComparisonFilter>,
pub int_comparison: Option<IntComparisonFilter>,
pub is_null: Option<Empty>,
pub round_scale: Option<RoundToScale>,
pub value_list: Option<ValueListFilter>,
}
Expand description
Description of data transformation during migration as part of the ConditionalColumnSetValue.
This type is not used in any activity, and only used as part of another schema.
Fields§
§apply_hash: Option<ApplyHash>
Optional. Applies a hash function on the data
assign_max_value: Option<Empty>
Optional. Set to max_value - if integer or numeric, will use int.maxvalue, etc
assign_min_value: Option<Empty>
Optional. Set to min_value - if integer or numeric, will use int.minvalue, etc
assign_null: Option<Empty>
Optional. Set to null
assign_specific_value: Option<AssignSpecificValue>
Optional. Set to a specific value (value is converted to fit the target data type)
double_comparison: Option<DoubleComparisonFilter>
Optional. Filter on relation between source value and compare value of type double.
int_comparison: Option<IntComparisonFilter>
Optional. Filter on relation between source value and compare value of type integer.
is_null: Option<Empty>
Optional. Value is null
round_scale: Option<RoundToScale>
Optional. Allows the data to change scale
value_list: Option<ValueListFilter>
Optional. Value is found in the specified list.
Trait Implementations§
Source§impl Clone for ValueTransformation
impl Clone for ValueTransformation
Source§fn clone(&self) -> ValueTransformation
fn clone(&self) -> ValueTransformation
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ValueTransformation
impl Debug for ValueTransformation
Source§impl Default for ValueTransformation
impl Default for ValueTransformation
Source§fn default() -> ValueTransformation
fn default() -> ValueTransformation
Source§impl<'de> Deserialize<'de> for ValueTransformation
impl<'de> Deserialize<'de> for ValueTransformation
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 ValueTransformation
impl Serialize for ValueTransformation
impl Part for ValueTransformation
Auto Trait Implementations§
impl Freeze for ValueTransformation
impl RefUnwindSafe for ValueTransformation
impl Send for ValueTransformation
impl Sync for ValueTransformation
impl Unpin for ValueTransformation
impl UnwindSafe for ValueTransformation
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