pub struct GetSecret<'a> { /* private fields */ }Expand description
Builder for Client::get_secret
Implementations§
Source§impl<'a> GetSecret<'a>
impl<'a> GetSecret<'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<GetSecretResponse>, Error<()>>
pub async fn send(self) -> Result<ResponseValue<GetSecretResponse>, Error<()>>
Sends a GET request to /v1/deployments/{id}/vault/{vault_name}/secrets/{key}
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for GetSecret<'a>
impl<'a> !UnwindSafe for GetSecret<'a>
impl<'a> Freeze for GetSecret<'a>
impl<'a> Send for GetSecret<'a>
impl<'a> Sync for GetSecret<'a>
impl<'a> Unpin for GetSecret<'a>
impl<'a> UnsafeUnpin for GetSecret<'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