pub struct SecurityRuleMeta<'a> {
pub id: &'a str,
pub name: &'a str,
pub description: &'a str,
pub docs_path: &'a str,
}Expand description
Output-facing metadata for one security rule.
Fields§
§id: &'a strStable rule identifier used as the _meta.rules key.
name: &'a strHuman-readable rule name.
description: &'a strOne-line rule description.
docs_path: &'a strDocs path relative to the docs site root, joined onto the base URL.
Trait Implementations§
Source§impl<'a> Clone for SecurityRuleMeta<'a>
impl<'a> Clone for SecurityRuleMeta<'a>
impl<'a> Copy for SecurityRuleMeta<'a>
Source§impl<'a> Debug for SecurityRuleMeta<'a>
impl<'a> Debug for SecurityRuleMeta<'a>
impl<'a> Eq for SecurityRuleMeta<'a>
Source§impl<'a> PartialEq for SecurityRuleMeta<'a>
impl<'a> PartialEq for SecurityRuleMeta<'a>
impl<'a> StructuralPartialEq for SecurityRuleMeta<'a>
Auto Trait Implementations§
impl<'a> Freeze for SecurityRuleMeta<'a>
impl<'a> RefUnwindSafe for SecurityRuleMeta<'a>
impl<'a> Send for SecurityRuleMeta<'a>
impl<'a> Sync for SecurityRuleMeta<'a>
impl<'a> Unpin for SecurityRuleMeta<'a>
impl<'a> UnsafeUnpin for SecurityRuleMeta<'a>
impl<'a> UnwindSafe for SecurityRuleMeta<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.