pub struct ResolvedEnterpriseConnection {
pub base_url: String,
pub username: String,
pub password: Option<String>,
pub insecure: bool,
pub ca_cert: Option<String>,
pub user_agent: String,
}Expand description
Fully resolved Redis Enterprise connection settings.
Fields§
§base_url: StringEnterprise REST API base URL.
username: StringEnterprise API username.
password: Option<String>Enterprise API password.
insecure: boolWhether TLS certificate verification is disabled.
ca_cert: Option<String>Optional custom CA certificate path.
user_agent: StringHTTP user-agent value.
Implementations§
Source§impl ResolvedEnterpriseConnection
impl ResolvedEnterpriseConnection
Sourcepub fn build_client(&self) -> Result<EnterpriseClient, ClientResolutionError>
pub fn build_client(&self) -> Result<EnterpriseClient, ClientResolutionError>
Build a Redis Enterprise client from these resolved settings.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ResolvedEnterpriseConnection
impl RefUnwindSafe for ResolvedEnterpriseConnection
impl Send for ResolvedEnterpriseConnection
impl Sync for ResolvedEnterpriseConnection
impl Unpin for ResolvedEnterpriseConnection
impl UnsafeUnpin for ResolvedEnterpriseConnection
impl UnwindSafe for ResolvedEnterpriseConnection
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