#[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: StringThe name of the third party source repository.
connection_arn: StringThe 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: StringThe 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 ==.impl StructuralPartialEq for ThirdPartySourceRepository
Auto Trait Implementations§
impl Freeze for ThirdPartySourceRepository
impl RefUnwindSafe for ThirdPartySourceRepository
impl Send for ThirdPartySourceRepository
impl Sync for ThirdPartySourceRepository
impl Unpin for ThirdPartySourceRepository
impl UnwindSafe for ThirdPartySourceRepository
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more