[−][src]Struct sdkms::SdkmsClientBuilder
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]
Build SdkmsClient
Auto Trait Implementations
impl !RefUnwindSafe for SdkmsClientBuilder
impl Send for SdkmsClientBuilder
impl Sync for SdkmsClientBuilder
impl Unpin for SdkmsClientBuilder
impl !UnwindSafe for SdkmsClientBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,