Struct redis::RedisConnectionInfo [−][src]
pub struct RedisConnectionInfo { pub db: i64, pub username: Option<String>, pub password: Option<String>, }
Expand description
Redis specific/connection independent information used to establish a connection to redis.
Fields
db: i64
The database number to use. This is usually 0
.
username: Option<String>
Optionally a username that should be used for connection.
password: Option<String>
Optionally a password that should be used for connection.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for RedisConnectionInfo
impl Send for RedisConnectionInfo
impl Sync for RedisConnectionInfo
impl Unpin for RedisConnectionInfo
impl UnwindSafe for RedisConnectionInfo
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V