Struct aws_sdk_codebuild::model::SourceCredentialsInfo [−][src]
#[non_exhaustive]pub struct SourceCredentialsInfo {
pub arn: Option<String>,
pub server_type: Option<ServerType>,
pub auth_type: Option<AuthType>,
}
Expand description
Information about the credentials for a GitHub, GitHub Enterprise, or Bitbucket repository.
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.arn: Option<String>
The Amazon Resource Name (ARN) of the token.
server_type: Option<ServerType>
The type of source provider. The valid options are GITHUB, GITHUB_ENTERPRISE, or BITBUCKET.
auth_type: Option<AuthType>
The type of authentication used by the credentials. Valid options are OAUTH, BASIC_AUTH, or PERSONAL_ACCESS_TOKEN.
Implementations
Creates a new builder-style object to manufacture SourceCredentialsInfo
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 SourceCredentialsInfo
impl Send for SourceCredentialsInfo
impl Sync for SourceCredentialsInfo
impl Unpin for SourceCredentialsInfo
impl UnwindSafe for SourceCredentialsInfo
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