Struct aws_sdk_codegurureviewer::model::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
sourceimpl 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.
sourceimpl Repository
impl Repository
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture Repository
Trait Implementations
sourceimpl Clone for Repository
impl Clone for Repository
sourcefn clone(&self) -> Repository
fn clone(&self) -> Repository
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for Repository
impl Debug for Repository
sourceimpl PartialEq<Repository> for Repository
impl PartialEq<Repository> for Repository
sourcefn eq(&self, other: &Repository) -> bool
fn eq(&self, other: &Repository) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &Repository) -> bool
fn ne(&self, other: &Repository) -> bool
This method tests for !=.
impl StructuralPartialEq for Repository
Auto Trait Implementations
impl RefUnwindSafe for Repository
impl Send for Repository
impl Sync for Repository
impl Unpin for Repository
impl UnwindSafe for Repository
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more