pub enum RestoreType {
Copy,
Move,
}
Expand description
The type of database restore
Variants§
Copy
Restore as a “copy”
In this case, the database UUID is automatically updated to prevent conflicts.
This is typically used when restoring a database for testing.
Move
Restore as a “move”
In this case, the database UUID is not updated, and the database is restored as-is.
This is typically used when restoring a database to a new hosting environment.
Trait Implementations§
Source§impl Debug for RestoreType
impl Debug for RestoreType
Source§impl<'de> Deserialize<'de> for RestoreType
impl<'de> Deserialize<'de> for RestoreType
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
Auto Trait Implementations§
impl Freeze for RestoreType
impl RefUnwindSafe for RestoreType
impl Send for RestoreType
impl Sync for RestoreType
impl Unpin for RestoreType
impl UnwindSafe for RestoreType
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