pub struct GuardianRule {
pub rule: GuardianRuleRule,
pub title: String,
pub description: String,
pub items: Vec<GuardianRuleItem>,
}Fields§
§rule: GuardianRuleRuleThe identifier of the Guardian rule that fired.
title: StringA short summary of the rule.
description: StringA longer explanation of why the issue matters.
items: Vec<GuardianRuleItem>The specific elements that triggered the rule.
Trait Implementations§
Source§impl Clone for GuardianRule
impl Clone for GuardianRule
Source§impl Debug for GuardianRule
impl Debug for GuardianRule
Source§impl Default for GuardianRule
impl Default for GuardianRule
Source§impl<'de> Deserialize<'de> for GuardianRule
impl<'de> Deserialize<'de> for GuardianRule
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for GuardianRule
impl PartialEq for GuardianRule
impl StructuralPartialEq for GuardianRule
Auto Trait Implementations§
impl Freeze for GuardianRule
impl RefUnwindSafe for GuardianRule
impl Send for GuardianRule
impl Sync for GuardianRule
impl Unpin for GuardianRule
impl UnsafeUnpin for GuardianRule
impl UnwindSafe for GuardianRule
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