pub struct RuleCatalogResponse {
pub version: u32,
pub rules: Vec<RuleCatalogEntry>,
}Fields§
§version: u32§rules: Vec<RuleCatalogEntry>Implementations§
Source§impl RuleCatalogResponse
impl RuleCatalogResponse
pub fn from_rules(rules: Vec<RuleCatalogEntry>) -> Self
pub fn current() -> Self
pub fn configurable() -> Self
Trait Implementations§
Source§impl Clone for RuleCatalogResponse
impl Clone for RuleCatalogResponse
Source§fn clone(&self) -> RuleCatalogResponse
fn clone(&self) -> RuleCatalogResponse
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 moreSource§impl Debug for RuleCatalogResponse
impl Debug for RuleCatalogResponse
impl Eq for RuleCatalogResponse
Source§impl PartialEq for RuleCatalogResponse
impl PartialEq for RuleCatalogResponse
Source§fn eq(&self, other: &RuleCatalogResponse) -> bool
fn eq(&self, other: &RuleCatalogResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RuleCatalogResponse
impl Serialize for RuleCatalogResponse
impl StructuralPartialEq for RuleCatalogResponse
Auto Trait Implementations§
impl Freeze for RuleCatalogResponse
impl RefUnwindSafe for RuleCatalogResponse
impl Send for RuleCatalogResponse
impl Sync for RuleCatalogResponse
impl Unpin for RuleCatalogResponse
impl UnsafeUnpin for RuleCatalogResponse
impl UnwindSafe for RuleCatalogResponse
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.