#[non_exhaustive]pub struct EntityMove {
pub new_schema: String,
/* private fields */
}Expand description
Options to configure rule type EntityMove. The rule is used to move an entity to a new schema.
The rule filter field can refer to one or more entities.
The rule scope can be one of: Table, Column, Constraint, Index, View, Function, Stored Procedure, Materialized View, Sequence, UDT
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.new_schema: StringRequired. The new schema
Implementations§
Source§impl EntityMove
impl EntityMove
pub fn new() -> Self
Sourcepub fn set_new_schema<T: Into<String>>(self, v: T) -> Self
pub fn set_new_schema<T: Into<String>>(self, v: T) -> Self
Sets the value of new_schema.
Trait Implementations§
Source§impl Clone for EntityMove
impl Clone for EntityMove
Source§fn clone(&self) -> EntityMove
fn clone(&self) -> EntityMove
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 EntityMove
impl Debug for EntityMove
Source§impl Default for EntityMove
impl Default for EntityMove
Source§fn default() -> EntityMove
fn default() -> EntityMove
Returns the “default value” for a type. Read more
Source§impl PartialEq for EntityMove
impl PartialEq for EntityMove
impl StructuralPartialEq for EntityMove
Auto Trait Implementations§
impl Freeze for EntityMove
impl RefUnwindSafe for EntityMove
impl Send for EntityMove
impl Sync for EntityMove
impl Unpin for EntityMove
impl UnwindSafe for EntityMove
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