Struct aws_sdk_appfabric::types::ApiKeyCredential
source · #[non_exhaustive]pub struct ApiKeyCredential {
pub api_key: Option<String>,
}
Expand description
Contains API key credential information.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.api_key: Option<String>
An API key for an application.
Implementations§
source§impl ApiKeyCredential
impl ApiKeyCredential
sourcepub fn builder() -> ApiKeyCredentialBuilder
pub fn builder() -> ApiKeyCredentialBuilder
Creates a new builder-style object to manufacture ApiKeyCredential
.
Trait Implementations§
source§impl Clone for ApiKeyCredential
impl Clone for ApiKeyCredential
source§fn clone(&self) -> ApiKeyCredential
fn clone(&self) -> ApiKeyCredential
Returns a copy 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 Debug for ApiKeyCredential
impl Debug for ApiKeyCredential
source§impl PartialEq<ApiKeyCredential> for ApiKeyCredential
impl PartialEq<ApiKeyCredential> for ApiKeyCredential
source§fn eq(&self, other: &ApiKeyCredential) -> bool
fn eq(&self, other: &ApiKeyCredential) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ApiKeyCredential
Auto Trait Implementations§
impl RefUnwindSafe for ApiKeyCredential
impl Send for ApiKeyCredential
impl Sync for ApiKeyCredential
impl Unpin for ApiKeyCredential
impl UnwindSafe for ApiKeyCredential
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