[][src]Struct sdkms::SdkmsClientBuilder

pub struct SdkmsClientBuilder { /* fields omitted */ }

A builder for SdkmsClient

Implementations

impl SdkmsClientBuilder[src]

pub fn with_hyper_client(self, client: Arc<HyperClient>) -> Self[src]

This can be used to customize the underlying HTTPS client if desired.

pub fn with_api_endpoint(self, api_endpoint: &str) -> Self[src]

This can be used to set the API endpoint. Otherwise the default endpoint is used.

pub fn with_api_key(self, api_key: &str) -> Self[src]

This can be used to make API calls without establishing a session. The API key will be passed along as HTTP Basic auth header on all API calls.

pub fn with_access_token(self, access_token: &str) -> Self[src]

This can be used to restore an established session.

pub fn build(self) -> Result<SdkmsClient>[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any