pub struct RedisConfig {
pub address: String,
pub database: u8,
pub username: Option<String>,
pub password: Option<String>,
pub pool_capacity: usize,
}
Fields§
§address: String
§database: u8
§username: Option<String>
§password: Option<String>
§pool_capacity: usize
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RedisConfig
impl RefUnwindSafe for RedisConfig
impl Send for RedisConfig
impl Sync for RedisConfig
impl Unpin for RedisConfig
impl UnwindSafe for RedisConfig
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