pub struct LocalAsyncInternalApiKeyServiceClient<C> { /* private fields */ }Trait Implementations§
Source§impl<C> AsyncService<C> for LocalAsyncInternalApiKeyServiceClient<C>
impl<C> AsyncService<C> for LocalAsyncInternalApiKeyServiceClient<C>
Source§fn new(client: C, runtime: &Arc<ConjureRuntime>) -> Self
fn new(client: C, runtime: &Arc<ConjureRuntime>) -> Self
Creates a new service wrapping an async HTTP client.
Source§impl<C: Clone> Clone for LocalAsyncInternalApiKeyServiceClient<C>
impl<C: Clone> Clone for LocalAsyncInternalApiKeyServiceClient<C>
Source§fn clone(&self) -> LocalAsyncInternalApiKeyServiceClient<C>
fn clone(&self) -> LocalAsyncInternalApiKeyServiceClient<C>
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 moreSource§impl<C: Debug> Debug for LocalAsyncInternalApiKeyServiceClient<C>
impl<C: Debug> Debug for LocalAsyncInternalApiKeyServiceClient<C>
Source§impl<I: Stream<Item = Result<Bytes, Error>>, __C> LocalAsyncInternalApiKeyService<I> for LocalAsyncInternalApiKeyServiceClient<__C>where
__C: LocalAsyncClient<ResponseBody = I>,
impl<I: Stream<Item = Result<Bytes, Error>>, __C> LocalAsyncInternalApiKeyService<I> for LocalAsyncInternalApiKeyServiceClient<__C>where
__C: LocalAsyncClient<ResponseBody = I>,
Source§async fn get_access_token_from_api_key_value(
&self,
request: &GetAccessTokenFromApiKeyRequest,
) -> Result<GetAccessTokenResponse, Error>
async fn get_access_token_from_api_key_value( &self, request: &GetAccessTokenFromApiKeyRequest, ) -> Result<GetAccessTokenResponse, Error>
Get a Nominal-issued access token from a long-lived API key. Callers should verify that
their api key is formatted properly (i.e. prefixed with “nominal_api_key”) before calling this endpoint.
Auto Trait Implementations§
impl<C> Freeze for LocalAsyncInternalApiKeyServiceClient<C>where
C: Freeze,
impl<C> !RefUnwindSafe for LocalAsyncInternalApiKeyServiceClient<C>
impl<C> Send for LocalAsyncInternalApiKeyServiceClient<C>where
C: Send,
impl<C> Sync for LocalAsyncInternalApiKeyServiceClient<C>where
C: Sync,
impl<C> Unpin for LocalAsyncInternalApiKeyServiceClient<C>where
C: Unpin,
impl<C> UnsafeUnpin for LocalAsyncInternalApiKeyServiceClient<C>where
C: UnsafeUnpin,
impl<C> !UnwindSafe for LocalAsyncInternalApiKeyServiceClient<C>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request