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
sourceimpl 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.
sourceimpl RuleMetadata
impl RuleMetadata
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture RuleMetadata.
Trait Implementations
sourceimpl Clone for RuleMetadata
impl Clone for RuleMetadata
sourcefn clone(&self) -> RuleMetadata
fn clone(&self) -> RuleMetadata
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for RuleMetadata
impl Debug for RuleMetadata
sourceimpl PartialEq<RuleMetadata> for RuleMetadata
impl PartialEq<RuleMetadata> for RuleMetadata
sourcefn eq(&self, other: &RuleMetadata) -> bool
fn eq(&self, other: &RuleMetadata) -> bool
impl StructuralPartialEq for RuleMetadata
Auto Trait Implementations
impl RefUnwindSafe for RuleMetadata
impl Send for RuleMetadata
impl Sync for RuleMetadata
impl Unpin for RuleMetadata
impl UnwindSafe for RuleMetadata
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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