pub struct MapperAttributeMapping {
pub name: Option<String>,
pub type_: Option<Type>,
pub function_name: Option<String>,
pub expression: Option<String>,
pub attribute_reference: Option<MapperAttributeReference>,
pub attribute_references: Vec<MapperAttributeReference>,
}Expand description
Source and target column mapping details.
Fields§
§name: Option<String>Name of the target column.
type_: Option<Type>Type of the CDC attribute mapping. Note: ‘Advanced’ mapping type is also saved as ‘Derived’.
function_name: Option<String>Name of the function used for ‘Aggregate’ and ‘Derived’ (except ‘Advanced’) type mapping.
expression: Option<String>Expression used for ‘Aggregate’ and ‘Derived’ type mapping.
attribute_reference: Option<MapperAttributeReference>Attribute reference details for the referred column.
attribute_references: Vec<MapperAttributeReference>List of references for source columns. It is used for ‘Derived’ and ‘Aggregate’ type mappings only.
Implementations§
Trait Implementations§
Source§impl Clone for MapperAttributeMapping
impl Clone for MapperAttributeMapping
Source§fn clone(&self) -> MapperAttributeMapping
fn clone(&self) -> MapperAttributeMapping
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 MapperAttributeMapping
impl Debug for MapperAttributeMapping
Source§impl Default for MapperAttributeMapping
impl Default for MapperAttributeMapping
Source§fn default() -> MapperAttributeMapping
fn default() -> MapperAttributeMapping
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MapperAttributeMapping
impl<'de> Deserialize<'de> for MapperAttributeMapping
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
Source§impl PartialEq for MapperAttributeMapping
impl PartialEq for MapperAttributeMapping
Source§impl Serialize for MapperAttributeMapping
impl Serialize for MapperAttributeMapping
impl StructuralPartialEq for MapperAttributeMapping
Auto Trait Implementations§
impl Freeze for MapperAttributeMapping
impl RefUnwindSafe for MapperAttributeMapping
impl Send for MapperAttributeMapping
impl Sync for MapperAttributeMapping
impl Unpin for MapperAttributeMapping
impl UnwindSafe for MapperAttributeMapping
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