pub struct ResolvedCloudConnection {
pub base_url: String,
pub api_key: String,
pub api_secret: String,
pub user_agent: String,
}Expand description
Fully resolved Redis Cloud connection settings.
Fields§
§base_url: StringCloud API base URL.
api_key: StringCloud API key.
api_secret: StringCloud API secret.
user_agent: StringHTTP user-agent value.
Implementations§
Source§impl ResolvedCloudConnection
impl ResolvedCloudConnection
Sourcepub fn build_client(&self) -> Result<CloudClient, ClientResolutionError>
pub fn build_client(&self) -> Result<CloudClient, ClientResolutionError>
Build a Redis Cloud client from these resolved settings.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ResolvedCloudConnection
impl RefUnwindSafe for ResolvedCloudConnection
impl Send for ResolvedCloudConnection
impl Sync for ResolvedCloudConnection
impl Unpin for ResolvedCloudConnection
impl UnsafeUnpin for ResolvedCloudConnection
impl UnwindSafe for ResolvedCloudConnection
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