pub struct CodeReviewSummary {
pub code_review_arn: Option<String>,
pub created_time_stamp: Option<f64>,
pub last_updated_time_stamp: Option<f64>,
pub metrics_summary: Option<MetricsSummary>,
pub name: Option<String>,
pub owner: Option<String>,
pub provider_type: Option<String>,
pub pull_request_id: Option<String>,
pub repository_name: Option<String>,
pub source_code_type: Option<SourceCodeType>,
pub state: Option<String>,
pub type_: Option<String>,
}
Expand description
Information about the summary of the code review.
Fields
code_review_arn: Option<String>
The Amazon Resource Name (ARN) of the CodeReview
object.
created_time_stamp: Option<f64>
The time, in milliseconds since the epoch, when the code review was created.
last_updated_time_stamp: Option<f64>
The time, in milliseconds since the epoch, when the code review was last updated.
metrics_summary: Option<MetricsSummary>
The statistics from the code review.
name: Option<String>
The name of the code review.
owner: Option<String>
The owner of the repository. For an AWS CodeCommit repository, this is the AWS 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 AWS account ID.
provider_type: Option<String>
The provider type of the repository association.
pull_request_id: Option<String>
The pull request ID for the code review.
repository_name: Option<String>
The name of the repository.
source_code_type: Option<SourceCodeType>
state: Option<String>
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.
type_: Option<String>
The type of the code review.
Trait Implementations
sourceimpl Clone for CodeReviewSummary
impl Clone for CodeReviewSummary
sourcefn clone(&self) -> CodeReviewSummary
fn clone(&self) -> CodeReviewSummary
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 CodeReviewSummary
impl Debug for CodeReviewSummary
sourceimpl Default for CodeReviewSummary
impl Default for CodeReviewSummary
sourcefn default() -> CodeReviewSummary
fn default() -> CodeReviewSummary
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for CodeReviewSummary
impl<'de> Deserialize<'de> for CodeReviewSummary
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<CodeReviewSummary> for CodeReviewSummary
impl PartialEq<CodeReviewSummary> for CodeReviewSummary
sourcefn eq(&self, other: &CodeReviewSummary) -> bool
fn eq(&self, other: &CodeReviewSummary) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CodeReviewSummary) -> bool
fn ne(&self, other: &CodeReviewSummary) -> bool
This method tests for !=
.
impl StructuralPartialEq for CodeReviewSummary
Auto Trait Implementations
impl RefUnwindSafe for CodeReviewSummary
impl Send for CodeReviewSummary
impl Sync for CodeReviewSummary
impl Unpin for CodeReviewSummary
impl UnwindSafe for CodeReviewSummary
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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