pub fn acl(username: &str, password: &str) -> Self {
        Credentials {
            username: Some(username.to_string()),
            password: password.to_string(),
        }
    }
/// Uses ACL based authentication
/// Required Redis version >= 6 + ACL enabled
Uses ACL based authentication
Required Redis version >= 6 + ACL enabled
Uses ACL based authentication Required Redis version > = 6 + ACL enabled
pub fn acl(username: &str, password: &str) -> Self {
        Credentials {
            username: Some(username.to_string()),
            password: password.to_string(),
        }
    }
pub fn acl ( username : & str , password : & str ) -> Self { Credentials { username : Some ( username . to_string ( ) ) , password : password . to_string ( ) , } }
Uses ACL based authentication
Required Redis version >= 6 + ACL enabled
Uses ACL based authentication Required Redis version > = 6 + ACL enabled
username
&str
password
&str
username
&str
password
&str