Struct aws_sdk_quicksight::model::CredentialPair
source · [−]#[non_exhaustive]pub struct CredentialPair {
pub username: Option<String>,
pub password: Option<String>,
pub alternate_data_source_parameters: Option<Vec<DataSourceParameters>>,
}
Expand description
The combination of user name and password that are used as credentials.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.username: Option<String>
User name.
password: Option<String>
Password.
alternate_data_source_parameters: Option<Vec<DataSourceParameters>>
A set of alternate data source parameters that you want to share for these credentials. The credentials are applied in tandem with the data source parameters when you copy a data source by using a create or update request. The API operation compares the DataSourceParameters
structure that's in the request with the structures in the AlternateDataSourceParameters
allow list. If the structures are an exact match, the request is allowed to use the new data source with the existing credentials. If the AlternateDataSourceParameters
list is null, the DataSourceParameters
originally used with these Credentials
is automatically allowed.
Implementations
sourceimpl CredentialPair
impl CredentialPair
sourcepub fn alternate_data_source_parameters(
&self
) -> Option<&[DataSourceParameters]>
pub fn alternate_data_source_parameters(
&self
) -> Option<&[DataSourceParameters]>
A set of alternate data source parameters that you want to share for these credentials. The credentials are applied in tandem with the data source parameters when you copy a data source by using a create or update request. The API operation compares the DataSourceParameters
structure that's in the request with the structures in the AlternateDataSourceParameters
allow list. If the structures are an exact match, the request is allowed to use the new data source with the existing credentials. If the AlternateDataSourceParameters
list is null, the DataSourceParameters
originally used with these Credentials
is automatically allowed.
sourceimpl CredentialPair
impl CredentialPair
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CredentialPair
Trait Implementations
sourceimpl Clone for CredentialPair
impl Clone for CredentialPair
sourcefn clone(&self) -> CredentialPair
fn clone(&self) -> CredentialPair
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CredentialPair
impl Debug for CredentialPair
sourceimpl PartialEq<CredentialPair> for CredentialPair
impl PartialEq<CredentialPair> for CredentialPair
sourcefn eq(&self, other: &CredentialPair) -> bool
fn eq(&self, other: &CredentialPair) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CredentialPair) -> bool
fn ne(&self, other: &CredentialPair) -> bool
This method tests for !=
.
impl StructuralPartialEq for CredentialPair
Auto Trait Implementations
impl RefUnwindSafe for CredentialPair
impl Send for CredentialPair
impl Sync for CredentialPair
impl Unpin for CredentialPair
impl UnwindSafe for CredentialPair
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more