#[non_exhaustive]pub struct ConvertRowIdToColumn {
pub only_if_no_primary_key: bool,
/* private fields */
}Expand description
Options to configure rule type ConvertROWIDToColumn. The rule is used to add column rowid to destination tables based on an Oracle rowid function/property.
The rule filter field can refer to one or more entities.
The rule scope can be one of: Table.
This rule requires additional filter to be specified beyond the basic rule filter field, which is whether or not to work on tables which already have a primary key defined.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.only_if_no_primary_key: boolRequired. Only work on tables without primary key defined
Implementations§
Source§impl ConvertRowIdToColumn
impl ConvertRowIdToColumn
pub fn new() -> Self
Sourcepub fn set_only_if_no_primary_key<T: Into<bool>>(self, v: T) -> Self
pub fn set_only_if_no_primary_key<T: Into<bool>>(self, v: T) -> Self
Sets the value of only_if_no_primary_key.
Trait Implementations§
Source§impl Clone for ConvertRowIdToColumn
impl Clone for ConvertRowIdToColumn
Source§fn clone(&self) -> ConvertRowIdToColumn
fn clone(&self) -> ConvertRowIdToColumn
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 ConvertRowIdToColumn
impl Debug for ConvertRowIdToColumn
Source§impl Default for ConvertRowIdToColumn
impl Default for ConvertRowIdToColumn
Source§fn default() -> ConvertRowIdToColumn
fn default() -> ConvertRowIdToColumn
Returns the “default value” for a type. Read more
Source§impl Message for ConvertRowIdToColumn
impl Message for ConvertRowIdToColumn
Source§impl PartialEq for ConvertRowIdToColumn
impl PartialEq for ConvertRowIdToColumn
impl StructuralPartialEq for ConvertRowIdToColumn
Auto Trait Implementations§
impl Freeze for ConvertRowIdToColumn
impl RefUnwindSafe for ConvertRowIdToColumn
impl Send for ConvertRowIdToColumn
impl Sync for ConvertRowIdToColumn
impl Unpin for ConvertRowIdToColumn
impl UnwindSafe for ConvertRowIdToColumn
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