pub struct GetApiKey<'a> { /* private fields */ }
Expand description
Builder for Client::get_api_key
Implementations§
Source§impl<'a> GetApiKey<'a>
impl<'a> GetApiKey<'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<ApiKeyDescr>, Error<ErrorResponse>>
pub async fn send( self, ) -> Result<ResponseValue<ApiKeyDescr>, Error<ErrorResponse>>
Sends a GET
request to /v0/api_keys/{api_key_name}
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for GetApiKey<'a>
impl<'a> !RefUnwindSafe for GetApiKey<'a>
impl<'a> Send for GetApiKey<'a>
impl<'a> Sync for GetApiKey<'a>
impl<'a> Unpin for GetApiKey<'a>
impl<'a> !UnwindSafe for GetApiKey<'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