Struct aws_sdk_codegurureviewer::types::builders::MetricsBuilder
source · #[non_exhaustive]pub struct MetricsBuilder { /* private fields */ }Expand description
A builder for Metrics.
Implementations§
source§impl MetricsBuilder
impl MetricsBuilder
sourcepub fn metered_lines_of_code_count(self, input: i64) -> Self
pub fn metered_lines_of_code_count(self, input: i64) -> Self
MeteredLinesOfCodeCount is the number of lines of code in the repository where the code review happened. This does not include non-code lines such as comments and blank lines.
sourcepub fn set_metered_lines_of_code_count(self, input: Option<i64>) -> Self
pub fn set_metered_lines_of_code_count(self, input: Option<i64>) -> Self
MeteredLinesOfCodeCount is the number of lines of code in the repository where the code review happened. This does not include non-code lines such as comments and blank lines.
sourcepub fn get_metered_lines_of_code_count(&self) -> &Option<i64>
pub fn get_metered_lines_of_code_count(&self) -> &Option<i64>
MeteredLinesOfCodeCount is the number of lines of code in the repository where the code review happened. This does not include non-code lines such as comments and blank lines.
sourcepub fn suppressed_lines_of_code_count(self, input: i64) -> Self
pub fn suppressed_lines_of_code_count(self, input: i64) -> Self
SuppressedLinesOfCodeCount is the number of lines of code in the repository where the code review happened that CodeGuru Reviewer did not analyze. The lines suppressed in the analysis is based on the excludeFiles variable in the aws-codeguru-reviewer.yml file. This number does not include non-code lines such as comments and blank lines.
sourcepub fn set_suppressed_lines_of_code_count(self, input: Option<i64>) -> Self
pub fn set_suppressed_lines_of_code_count(self, input: Option<i64>) -> Self
SuppressedLinesOfCodeCount is the number of lines of code in the repository where the code review happened that CodeGuru Reviewer did not analyze. The lines suppressed in the analysis is based on the excludeFiles variable in the aws-codeguru-reviewer.yml file. This number does not include non-code lines such as comments and blank lines.
sourcepub fn get_suppressed_lines_of_code_count(&self) -> &Option<i64>
pub fn get_suppressed_lines_of_code_count(&self) -> &Option<i64>
SuppressedLinesOfCodeCount is the number of lines of code in the repository where the code review happened that CodeGuru Reviewer did not analyze. The lines suppressed in the analysis is based on the excludeFiles variable in the aws-codeguru-reviewer.yml file. This number does not include non-code lines such as comments and blank lines.
sourcepub fn findings_count(self, input: i64) -> Self
pub fn findings_count(self, input: i64) -> Self
Total number of recommendations found in the code review.
sourcepub fn set_findings_count(self, input: Option<i64>) -> Self
pub fn set_findings_count(self, input: Option<i64>) -> Self
Total number of recommendations found in the code review.
sourcepub fn get_findings_count(&self) -> &Option<i64>
pub fn get_findings_count(&self) -> &Option<i64>
Total number of recommendations found in the code review.
Trait Implementations§
source§impl Clone for MetricsBuilder
impl Clone for MetricsBuilder
source§fn clone(&self) -> MetricsBuilder
fn clone(&self) -> MetricsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for MetricsBuilder
impl Debug for MetricsBuilder
source§impl Default for MetricsBuilder
impl Default for MetricsBuilder
source§fn default() -> MetricsBuilder
fn default() -> MetricsBuilder
source§impl PartialEq for MetricsBuilder
impl PartialEq for MetricsBuilder
source§fn eq(&self, other: &MetricsBuilder) -> bool
fn eq(&self, other: &MetricsBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for MetricsBuilder
Auto Trait Implementations§
impl Freeze for MetricsBuilder
impl RefUnwindSafe for MetricsBuilder
impl Send for MetricsBuilder
impl Sync for MetricsBuilder
impl Unpin for MetricsBuilder
impl UnwindSafe for MetricsBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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