Struct aws_sdk_codegurureviewer::types::Repository
source · #[non_exhaustive]pub struct Repository {
pub code_commit: Option<CodeCommitRepository>,
pub bitbucket: Option<ThirdPartySourceRepository>,
pub git_hub_enterprise_server: Option<ThirdPartySourceRepository>,
pub s3_bucket: Option<S3Repository>,
}
Expand description
Information about an associated Amazon Web Services CodeCommit repository or an associated repository that is managed by Amazon Web Services CodeStar Connections (for example, Bitbucket). This Repository
object is not used if your source code is in an associated GitHub 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.code_commit: Option<CodeCommitRepository>
Information about an Amazon Web Services CodeCommit repository.
bitbucket: Option<ThirdPartySourceRepository>
Information about a Bitbucket repository.
git_hub_enterprise_server: Option<ThirdPartySourceRepository>
Information about a GitHub Enterprise Server repository.
s3_bucket: Option<S3Repository>
Information about a repository in an S3 bucket.
Implementations§
source§impl Repository
impl Repository
sourcepub fn code_commit(&self) -> Option<&CodeCommitRepository>
pub fn code_commit(&self) -> Option<&CodeCommitRepository>
Information about an Amazon Web Services CodeCommit repository.
sourcepub fn bitbucket(&self) -> Option<&ThirdPartySourceRepository>
pub fn bitbucket(&self) -> Option<&ThirdPartySourceRepository>
Information about a Bitbucket repository.
sourcepub fn git_hub_enterprise_server(&self) -> Option<&ThirdPartySourceRepository>
pub fn git_hub_enterprise_server(&self) -> Option<&ThirdPartySourceRepository>
Information about a GitHub Enterprise Server repository.
sourcepub fn s3_bucket(&self) -> Option<&S3Repository>
pub fn s3_bucket(&self) -> Option<&S3Repository>
Information about a repository in an S3 bucket.
source§impl Repository
impl Repository
sourcepub fn builder() -> RepositoryBuilder
pub fn builder() -> RepositoryBuilder
Creates a new builder-style object to manufacture Repository
.
Trait Implementations§
source§impl Clone for Repository
impl Clone for Repository
source§fn clone(&self) -> Repository
fn clone(&self) -> Repository
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Repository
impl Debug for Repository
source§impl PartialEq for Repository
impl PartialEq for Repository
source§fn eq(&self, other: &Repository) -> bool
fn eq(&self, other: &Repository) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Repository
Auto Trait Implementations§
impl Freeze for Repository
impl RefUnwindSafe for Repository
impl Send for Repository
impl Sync for Repository
impl Unpin for Repository
impl UnwindSafe for Repository
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> 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