pub struct SecretsClient { /* private fields */ }Implementations§
Source§impl SecretsClient
impl SecretsClient
pub async fn create_secret( &self, req_create_secret: ReqCreateSecret, ) -> Result<RespSecret, Error<CreateSecretError>>
pub async fn delete_secret( &self, secret_id: &str, ) -> Result<RespString, Error<DeleteSecretError>>
pub async fn get_secret( &self, secret_id: &str, ) -> Result<RespSecret, Error<GetSecretError>>
pub async fn list_secrets( &self, ) -> Result<RespSecretList, Error<ListSecretsError>>
Trait Implementations§
Source§impl Clone for SecretsClient
impl Clone for SecretsClient
Source§fn clone(&self) -> SecretsClient
fn clone(&self) -> SecretsClient
Returns a duplicate of the value. Read more
1.0.0 · 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 SecretsClient
impl !RefUnwindSafe for SecretsClient
impl Send for SecretsClient
impl Sync for SecretsClient
impl Unpin for SecretsClient
impl !UnwindSafe for SecretsClient
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