Struct redis_driver::MigrateOptions
source · [−]pub struct MigrateOptions { /* private fields */ }
Implementations
sourceimpl MigrateOptions
impl MigrateOptions
pub fn copy(self) -> Self
pub fn replace(self) -> Self
pub fn auth<P: Into<BulkString>>(self, password: P) -> Self
pub fn auth2<U: Into<BulkString>, P: Into<BulkString>>(
self,
username: U,
password: P
) -> Self
pub fn keys<K: Into<BulkString>, KK: SingleArgOrCollection<K>>(
self,
keys: KK
) -> Self
Trait Implementations
sourceimpl Default for MigrateOptions
impl Default for MigrateOptions
sourcefn default() -> MigrateOptions
fn default() -> MigrateOptions
Returns the “default value” for a type. Read more
sourceimpl IntoArgs for MigrateOptions
impl IntoArgs for MigrateOptions
fn into_args(self, args: CommandArgs) -> CommandArgs
fn num_args(&self) -> usize
Auto Trait Implementations
impl RefUnwindSafe for MigrateOptions
impl Send for MigrateOptions
impl Sync for MigrateOptions
impl Unpin for MigrateOptions
impl UnwindSafe for MigrateOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more