[][src]Struct rusoto_codebuild::ImportSourceCredentialsInput

pub struct ImportSourceCredentialsInput {
    pub auth_type: String,
    pub server_type: String,
    pub should_overwrite: Option<bool>,
    pub token: String,
    pub username: Option<String>,
}

Fields

auth_type: String

The type of authentication used to connect to a GitHub, GitHub Enterprise, or Bitbucket repository. An OAUTH connection is not supported by the API and must be created using the AWS CodeBuild console.

server_type: String

The source provider used for this project.

should_overwrite: Option<bool>

Set to false to prevent overwriting the repository source credentials. Set to true to overwrite the repository source credentials. The default value is true.

token: String

For GitHub or GitHub Enterprise, this is the personal access token. For Bitbucket, this is the app password.

username: Option<String>

The Bitbucket username when the authType is BASIC_AUTH. This parameter is not valid for other types of source providers or connections.

Trait Implementations

impl Clone for ImportSourceCredentialsInput[src]

impl Debug for ImportSourceCredentialsInput[src]

impl Default for ImportSourceCredentialsInput[src]

impl PartialEq<ImportSourceCredentialsInput> for ImportSourceCredentialsInput[src]

impl Serialize for ImportSourceCredentialsInput[src]

impl StructuralPartialEq for ImportSourceCredentialsInput[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.