Struct aws_sdk_codegurureviewer::model::RuleMetadata
source · #[non_exhaustive]pub struct RuleMetadata { /* private fields */ }Expand description
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.
Implementations§
source§impl RuleMetadata
impl RuleMetadata
sourcepub fn short_description(&self) -> Option<&str>
pub fn short_description(&self) -> Option<&str>
A short description of the rule.
sourcepub fn long_description(&self) -> Option<&str>
pub fn long_description(&self) -> Option<&str>
A long description of the rule.
Tags that are associated with the rule.
source§impl RuleMetadata
impl RuleMetadata
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RuleMetadata.
Trait Implementations§
source§impl Clone for RuleMetadata
impl Clone for RuleMetadata
source§fn clone(&self) -> RuleMetadata
fn clone(&self) -> RuleMetadata
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for RuleMetadata
impl Debug for RuleMetadata
source§impl PartialEq<RuleMetadata> for RuleMetadata
impl PartialEq<RuleMetadata> for RuleMetadata
source§fn eq(&self, other: &RuleMetadata) -> bool
fn eq(&self, other: &RuleMetadata) -> bool
This method tests for
self and other values to be equal, and is used
by ==.