pub struct VaultSecretsClient { /* private fields */ }Implementations§
Source§impl VaultSecretsClient
impl VaultSecretsClient
pub fn new(oci_client: &Oci) -> Self
pub async fn get_secret_bundle(&self, secret_id: &str) -> Result<SecretBundle>
pub async fn get_secret_bundle_by_stage( &self, secret_id: &str, stage: &str, ) -> Result<SecretBundle>
pub async fn get_secret_bundle_by_version( &self, secret_id: &str, version_number: i64, ) -> Result<SecretBundle>
Trait Implementations§
Source§impl Clone for VaultSecretsClient
impl Clone for VaultSecretsClient
Source§fn clone(&self) -> VaultSecretsClient
fn clone(&self) -> VaultSecretsClient
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for VaultSecretsClient
impl !RefUnwindSafe for VaultSecretsClient
impl Send for VaultSecretsClient
impl Sync for VaultSecretsClient
impl Unpin for VaultSecretsClient
impl UnsafeUnpin for VaultSecretsClient
impl !UnwindSafe for VaultSecretsClient
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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