Struct aws_sdk_codegurureviewer::model::RecommendationSummary [−][src]
#[non_exhaustive]pub struct RecommendationSummary {
pub file_path: Option<String>,
pub recommendation_id: Option<String>,
pub start_line: Option<i32>,
pub end_line: Option<i32>,
pub description: Option<String>,
pub recommendation_category: Option<RecommendationCategory>,
pub rule_metadata: Option<RuleMetadata>,
pub severity: Option<Severity>,
}
Expand description
Information about recommendations.
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.file_path: Option<String>
Name of the file on which a recommendation is provided.
recommendation_id: Option<String>
The recommendation ID that can be used to track the provided recommendations. Later on it can be used to collect the feedback.
start_line: Option<i32>
Start line from where the recommendation is applicable in the source commit or source branch.
end_line: Option<i32>
Last line where the recommendation is applicable in the source commit or source branch. For a single line comment the start line and end line values are the same.
description: Option<String>
A description of the recommendation generated by CodeGuru Reviewer for the lines of code between the start line and the end line.
recommendation_category: Option<RecommendationCategory>
The type of a recommendation.
rule_metadata: Option<RuleMetadata>
Metadata about a rule. Rule metadata includes an ID, a name, a list of tags, and a short and long description. CodeGuru Reviewer uses rules to analyze code. A rule's recommendation is included in analysis results if code is detected that violates the rule.
severity: Option<Severity>
The severity of the issue in the code that generated this recommendation.
Implementations
Creates a new builder-style object to manufacture RecommendationSummary
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for RecommendationSummary
impl Send for RecommendationSummary
impl Sync for RecommendationSummary
impl Unpin for RecommendationSummary
impl UnwindSafe for RecommendationSummary
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more