#[non_exhaustive]pub struct ThirdPartySourceRepository {
pub name: String,
pub connection_arn: String,
pub owner: String,
}
Expand description
Information about a third-party source repository connected to CodeGuru Reviewer.
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.name: String
The name of the third party source repository.
connection_arn: String
The Amazon Resource Name (ARN) of an Amazon Web Services CodeStar Connections connection. Its format is arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id
. For more information, see Connection in the Amazon Web Services CodeStar Connections API Reference.
owner: String
The owner of the repository. For a GitHub, GitHub Enterprise, or Bitbucket repository, this is the username for the account that owns the repository. For an S3 repository, this can be the username or Amazon Web Services account ID
Implementations§
source§impl ThirdPartySourceRepository
impl ThirdPartySourceRepository
sourcepub fn connection_arn(&self) -> &str
pub fn connection_arn(&self) -> &str
The Amazon Resource Name (ARN) of an Amazon Web Services CodeStar Connections connection. Its format is arn:aws:codestar-connections:region-id:aws-account_id:connection/connection-id
. For more information, see Connection in the Amazon Web Services CodeStar Connections API Reference.
source§impl ThirdPartySourceRepository
impl ThirdPartySourceRepository
sourcepub fn builder() -> ThirdPartySourceRepositoryBuilder
pub fn builder() -> ThirdPartySourceRepositoryBuilder
Creates a new builder-style object to manufacture ThirdPartySourceRepository
.
Trait Implementations§
source§impl Clone for ThirdPartySourceRepository
impl Clone for ThirdPartySourceRepository
source§fn clone(&self) -> ThirdPartySourceRepository
fn clone(&self) -> ThirdPartySourceRepository
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ThirdPartySourceRepository
impl Debug for ThirdPartySourceRepository
source§impl PartialEq for ThirdPartySourceRepository
impl PartialEq for ThirdPartySourceRepository
source§fn eq(&self, other: &ThirdPartySourceRepository) -> bool
fn eq(&self, other: &ThirdPartySourceRepository) -> bool
self
and other
values to be equal, and is used
by ==
.