pub struct HashicorpCloudClient { /* private fields */ }Implementations§
Source§impl HashicorpCloudClient
impl HashicorpCloudClient
pub fn new( client_id: String, client_secret: String, org_id: String, project_id: String, app_name: String, ) -> Self
pub fn with_client(&self, client: Client) -> Self
pub fn with_auth_base_url(&self, auth_url: impl Into<String>) -> Self
pub fn with_api_base_url(&self, api_url: impl Into<String>) -> Self
pub async fn get_secret( &self, secret_name: &str, ) -> Result<HashicorpResponse, Error>
Auto Trait Implementations§
impl Freeze for HashicorpCloudClient
impl !RefUnwindSafe for HashicorpCloudClient
impl Send for HashicorpCloudClient
impl Sync for HashicorpCloudClient
impl Unpin for HashicorpCloudClient
impl !UnwindSafe for HashicorpCloudClient
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