pub struct MigrateOptions { /* private fields */ }
Implementations§
Source§impl MigrateOptions
impl MigrateOptions
pub fn copy(self) -> Self
pub fn replace(self) -> Self
pub fn auth<P: Into<CommandArg>>(self, password: P) -> Self
pub fn auth2<U: Into<CommandArg>, P: Into<CommandArg>>( self, username: U, password: P, ) -> Self
pub fn keys<K: Into<CommandArg>, KK: SingleArgOrCollection<K>>( self, keys: KK, ) -> Self
Trait Implementations§
Source§impl Default for MigrateOptions
impl Default for MigrateOptions
Source§fn default() -> MigrateOptions
fn default() -> MigrateOptions
Returns the “default value” for a type. Read more
Source§impl IntoArgs for MigrateOptions
impl IntoArgs for MigrateOptions
fn into_args(self, args: CommandArgs) -> CommandArgs
fn num_args(&self) -> usize
Auto Trait Implementations§
impl Freeze for MigrateOptions
impl RefUnwindSafe for MigrateOptions
impl Send for MigrateOptions
impl Sync for MigrateOptions
impl Unpin for MigrateOptions
impl UnwindSafe for MigrateOptions
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