Struct redis_driver::Config
source · [−]pub struct Config {
pub server: ServerConfig,
pub username: Option<String>,
pub password: Option<String>,
pub database: usize,
}
Fields
server: ServerConfig
username: Option<String>
password: Option<String>
database: usize
Implementations
Trait Implementations
sourceimpl IntoConfig for Config
impl IntoConfig for Config
fn into_config(self) -> Result<Config>
Auto Trait Implementations
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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