Struct aws_sdk_codebuild::model::Report
source · [−]#[non_exhaustive]pub struct Report {
pub arn: Option<String>,
pub type: Option<ReportType>,
pub name: Option<String>,
pub report_group_arn: Option<String>,
pub execution_id: Option<String>,
pub status: Option<ReportStatusType>,
pub created: Option<DateTime>,
pub expired: Option<DateTime>,
pub export_config: Option<ReportExportConfig>,
pub truncated: Option<bool>,
pub test_summary: Option<TestReportSummary>,
pub code_coverage_summary: Option<CodeCoverageReportSummary>,
}
Expand description
Information about the results from running a series of test cases during the run of a build project. The test cases are specified in the buildspec for the build project using one or more paths to the test case files. You can specify any type of tests you want, such as unit tests, integration tests, and functional tests.
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.arn: Option<String>
The ARN of the report run.
type: Option<ReportType>
The type of the report that was run.
- CODE_COVERAGE
-
A code coverage report.
- TEST
-
A test report.
name: Option<String>
The name of the report that was run.
report_group_arn: Option<String>
The ARN of the report group associated with this report.
execution_id: Option<String>
The ARN of the build run that generated this report.
status: Option<ReportStatusType>
The status of this report.
created: Option<DateTime>
The date and time this report run occurred.
expired: Option<DateTime>
The date and time a report expires. A report expires 30 days after it is created. An expired report is not available to view in CodeBuild.
export_config: Option<ReportExportConfig>
Information about where the raw data used to generate this report was exported.
truncated: Option<bool>
A boolean that specifies if this report run is truncated. The list of test cases is truncated after the maximum number of test cases is reached.
test_summary: Option<TestReportSummary>
A TestReportSummary
object that contains information about this test report.
code_coverage_summary: Option<CodeCoverageReportSummary>
A CodeCoverageReportSummary
object that contains a code coverage summary for this report.
Implementations
sourceimpl Report
impl Report
sourcepub fn type(&self) -> Option<&ReportType>
pub fn type(&self) -> Option<&ReportType>
The type of the report that was run.
- CODE_COVERAGE
-
A code coverage report.
- TEST
-
A test report.
sourcepub fn report_group_arn(&self) -> Option<&str>
pub fn report_group_arn(&self) -> Option<&str>
The ARN of the report group associated with this report.
sourcepub fn execution_id(&self) -> Option<&str>
pub fn execution_id(&self) -> Option<&str>
The ARN of the build run that generated this report.
sourcepub fn status(&self) -> Option<&ReportStatusType>
pub fn status(&self) -> Option<&ReportStatusType>
The status of this report.
sourcepub fn expired(&self) -> Option<&DateTime>
pub fn expired(&self) -> Option<&DateTime>
The date and time a report expires. A report expires 30 days after it is created. An expired report is not available to view in CodeBuild.
sourcepub fn export_config(&self) -> Option<&ReportExportConfig>
pub fn export_config(&self) -> Option<&ReportExportConfig>
Information about where the raw data used to generate this report was exported.
sourcepub fn truncated(&self) -> Option<bool>
pub fn truncated(&self) -> Option<bool>
A boolean that specifies if this report run is truncated. The list of test cases is truncated after the maximum number of test cases is reached.
sourcepub fn test_summary(&self) -> Option<&TestReportSummary>
pub fn test_summary(&self) -> Option<&TestReportSummary>
A TestReportSummary
object that contains information about this test report.
sourcepub fn code_coverage_summary(&self) -> Option<&CodeCoverageReportSummary>
pub fn code_coverage_summary(&self) -> Option<&CodeCoverageReportSummary>
A CodeCoverageReportSummary
object that contains a code coverage summary for this report.
Trait Implementations
impl StructuralPartialEq for Report
Auto Trait Implementations
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnwindSafe for Report
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