pub struct DeleteApiKey<'a> { /* private fields */ }
Expand description
Builder for Client::delete_api_key
Implementations§
Source§impl<'a> DeleteApiKey<'a>
impl<'a> DeleteApiKey<'a>
pub fn new(client: &'a Client) -> Self
pub fn api_key_name<V>(self, value: V) -> Self
Sourcepub async fn send(self) -> Result<ResponseValue<()>, Error<ErrorResponse>>
pub async fn send(self) -> Result<ResponseValue<()>, Error<ErrorResponse>>
Sends a DELETE
request to /v0/api_keys/{api_key_name}
Trait Implementations§
Source§impl<'a> Clone for DeleteApiKey<'a>
impl<'a> Clone for DeleteApiKey<'a>
Source§fn clone(&self) -> DeleteApiKey<'a>
fn clone(&self) -> DeleteApiKey<'a>
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<'a> Freeze for DeleteApiKey<'a>
impl<'a> !RefUnwindSafe for DeleteApiKey<'a>
impl<'a> Send for DeleteApiKey<'a>
impl<'a> Sync for DeleteApiKey<'a>
impl<'a> Unpin for DeleteApiKey<'a>
impl<'a> !UnwindSafe for DeleteApiKey<'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