pub struct DeleteSecret<'a> { /* private fields */ }Expand description
Builder for Client::delete_secret
Implementations§
Source§impl<'a> DeleteSecret<'a>
impl<'a> DeleteSecret<'a>
pub fn new(client: &'a Client) -> Self
pub fn id<V>(self, value: V) -> Self
pub fn vault_name<V>(self, value: V) -> Self
pub fn key<V>(self, value: V) -> Self
Sourcepub async fn send(
self,
) -> Result<ResponseValue<VaultMutationResponse>, Error<()>>
pub async fn send( self, ) -> Result<ResponseValue<VaultMutationResponse>, Error<()>>
Sends a DELETE request to /v1/deployments/{id}/vault/{vault_name}/secrets/{key}
Trait Implementations§
Source§impl<'a> Clone for DeleteSecret<'a>
impl<'a> Clone for DeleteSecret<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for DeleteSecret<'a>
impl<'a> !UnwindSafe for DeleteSecret<'a>
impl<'a> Freeze for DeleteSecret<'a>
impl<'a> Send for DeleteSecret<'a>
impl<'a> Sync for DeleteSecret<'a>
impl<'a> Unpin for DeleteSecret<'a>
impl<'a> UnsafeUnpin for DeleteSecret<'a>
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