Struct aws_sdk_codegurureviewer::types::CodeReviewSummary
source · #[non_exhaustive]pub struct CodeReviewSummary { /* private fields */ }Expand description
Information about the summary of the code review.
Implementations§
source§impl CodeReviewSummary
impl CodeReviewSummary
sourcepub fn code_review_arn(&self) -> Option<&str>
pub fn code_review_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the CodeReview object.
sourcepub fn repository_name(&self) -> Option<&str>
pub fn repository_name(&self) -> Option<&str>
The name of the repository.
sourcepub fn owner(&self) -> Option<&str>
pub fn owner(&self) -> Option<&str>
The owner of the repository. For an Amazon Web Services CodeCommit repository, this is the Amazon Web Services account ID of the account that owns the repository. For a GitHub, GitHub Enterprise Server, or Bitbucket repository, this is the username for the account that owns the repository. For an S3 repository, it can be the username or Amazon Web Services account ID.
sourcepub fn provider_type(&self) -> Option<&ProviderType>
pub fn provider_type(&self) -> Option<&ProviderType>
The provider type of the repository association.
sourcepub fn state(&self) -> Option<&JobState>
pub fn state(&self) -> Option<&JobState>
The state of the code review.
The valid code review states are:
-
Completed: The code review is complete. -
Pending: The code review started and has not completed or failed. -
Failed: The code review failed. -
Deleting: The code review is being deleted.
sourcepub fn created_time_stamp(&self) -> Option<&DateTime>
pub fn created_time_stamp(&self) -> Option<&DateTime>
The time, in milliseconds since the epoch, when the code review was created.
sourcepub fn last_updated_time_stamp(&self) -> Option<&DateTime>
pub fn last_updated_time_stamp(&self) -> Option<&DateTime>
The time, in milliseconds since the epoch, when the code review was last updated.
sourcepub fn pull_request_id(&self) -> Option<&str>
pub fn pull_request_id(&self) -> Option<&str>
The pull request ID for the code review.
sourcepub fn metrics_summary(&self) -> Option<&MetricsSummary>
pub fn metrics_summary(&self) -> Option<&MetricsSummary>
The statistics from the code review.
sourcepub fn source_code_type(&self) -> Option<&SourceCodeType>
pub fn source_code_type(&self) -> Option<&SourceCodeType>
Specifies the source code that is analyzed in a code review.
source§impl CodeReviewSummary
impl CodeReviewSummary
sourcepub fn builder() -> CodeReviewSummaryBuilder
pub fn builder() -> CodeReviewSummaryBuilder
Creates a new builder-style object to manufacture CodeReviewSummary.
Trait Implementations§
source§impl Clone for CodeReviewSummary
impl Clone for CodeReviewSummary
source§fn clone(&self) -> CodeReviewSummary
fn clone(&self) -> CodeReviewSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CodeReviewSummary
impl Debug for CodeReviewSummary
source§impl PartialEq<CodeReviewSummary> for CodeReviewSummary
impl PartialEq<CodeReviewSummary> for CodeReviewSummary
source§fn eq(&self, other: &CodeReviewSummary) -> bool
fn eq(&self, other: &CodeReviewSummary) -> bool
self and other values to be equal, and is used
by ==.