pub struct Redis {
pub host: String,
pub user: Option<String>,
pub pass: Option<String>,
pub v46: bool,
pub port: u16,
pub tls: TlsConnector,
}Fields§
§host: String§user: Option<String>§pass: Option<String>§v46: bool§port: u16§tls: TlsConnectorTrait Implementations§
Auto Trait Implementations§
impl Freeze for Redis
impl RefUnwindSafe for Redis
impl Send for Redis
impl Sync for Redis
impl Unpin for Redis
impl UnsafeUnpin for Redis
impl UnwindSafe for Redis
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