pub enum SchemaMode {
PgDump,
Existing,
}Variants§
PgDump
Run pg_dump --schema-only for the selected tables and apply it to the target.
Existing
The target schema already exists; PGSync verifies columns and proceeds.
Trait Implementations§
Source§impl Clone for SchemaMode
impl Clone for SchemaMode
impl Copy for SchemaMode
Source§impl Debug for SchemaMode
impl Debug for SchemaMode
Source§impl Default for SchemaMode
impl Default for SchemaMode
Source§impl<'de> Deserialize<'de> for SchemaMode
impl<'de> Deserialize<'de> for SchemaMode
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 Eq for SchemaMode
Source§impl PartialEq for SchemaMode
impl PartialEq for SchemaMode
Source§impl Serialize for SchemaMode
impl Serialize for SchemaMode
impl StructuralPartialEq for SchemaMode
Auto Trait Implementations§
impl Freeze for SchemaMode
impl RefUnwindSafe for SchemaMode
impl Send for SchemaMode
impl Sync for SchemaMode
impl Unpin for SchemaMode
impl UnsafeUnpin for SchemaMode
impl UnwindSafe for SchemaMode
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.