Struct aws_sdk_connect::model::Credentials [−][src]
#[non_exhaustive]pub struct Credentials {
pub access_token: Option<String>,
pub access_token_expiration: Option<Instant>,
pub refresh_token: Option<String>,
pub refresh_token_expiration: Option<Instant>,
}
Expand description
Contains credentials to use for federation.
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.access_token: Option<String>
An access token generated for a federated user to access Amazon Connect.
access_token_expiration: Option<Instant>
A token generated with an expiration time for the session a user is logged in to Amazon Connect.
refresh_token: Option<String>
Renews a token generated for a user to access the Amazon Connect instance.
refresh_token_expiration: Option<Instant>
Renews the expiration timer for a generated token.
Implementations
Creates a new builder-style object to manufacture Credentials
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for Credentials
impl Send for Credentials
impl Sync for Credentials
impl Unpin for Credentials
impl UnwindSafe for Credentials
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more