pub struct RuleMetadata {
pub code: &'static str,
pub shellcheck_level: Option<ShellCheckLevel>,
pub description: &'static str,
pub rationale: &'static str,
pub fix_description: Option<&'static str>,
}Expand description
Rule metadata lookup utilities.
Fields§
§code: &'static str§shellcheck_level: Option<ShellCheckLevel>§description: &'static str§rationale: &'static str§fix_description: Option<&'static str>Trait Implementations§
Source§impl Clone for RuleMetadata
impl Clone for RuleMetadata
Source§fn clone(&self) -> RuleMetadata
fn clone(&self) -> RuleMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RuleMetadata
Source§impl Debug for RuleMetadata
impl Debug for RuleMetadata
impl Eq for RuleMetadata
Source§impl PartialEq for RuleMetadata
impl PartialEq for RuleMetadata
impl StructuralPartialEq for RuleMetadata
Auto Trait Implementations§
impl Freeze for RuleMetadata
impl RefUnwindSafe for RuleMetadata
impl Send for RuleMetadata
impl Sync for RuleMetadata
impl Unpin for RuleMetadata
impl UnsafeUnpin for RuleMetadata
impl UnwindSafe for RuleMetadata
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
Mutably borrows from an owned value. Read more