#[non_exhaustive]pub struct RecommendationSummary { /* private fields */ }Expand description
Information about recommendations.
Implementations
sourceimpl RecommendationSummary
impl RecommendationSummary
sourcepub fn file_path(&self) -> Option<&str>
pub fn file_path(&self) -> Option<&str>
Name of the file on which a recommendation is provided.
sourcepub fn recommendation_id(&self) -> Option<&str>
pub fn recommendation_id(&self) -> Option<&str>
The recommendation ID that can be used to track the provided recommendations. Later on it can be used to collect the feedback.
sourcepub fn start_line(&self) -> Option<i32>
pub fn start_line(&self) -> Option<i32>
Start line from where the recommendation is applicable in the source commit or source branch.
sourcepub fn end_line(&self) -> Option<i32>
pub fn end_line(&self) -> 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.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the recommendation generated by CodeGuru Reviewer for the lines of code between the start line and the end line.
sourcepub fn recommendation_category(&self) -> Option<&RecommendationCategory>
pub fn recommendation_category(&self) -> Option<&RecommendationCategory>
The type of a recommendation.
sourcepub fn rule_metadata(&self) -> Option<&RuleMetadata>
pub fn rule_metadata(&self) -> 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.
sourceimpl RecommendationSummary
impl RecommendationSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RecommendationSummary.
Trait Implementations
sourceimpl Clone for RecommendationSummary
impl Clone for RecommendationSummary
sourcefn clone(&self) -> RecommendationSummary
fn clone(&self) -> RecommendationSummary
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more