pub struct ExplainRule {
pub policy_id: String,
pub rule_id: Option<String>,
pub rule_text: Option<String>,
pub matched_on: Option<String>,
}Expand description
Rule-level detail inside a decision explanation.
Fields§
§policy_id: String§rule_id: Option<String>§rule_text: Option<String>§matched_on: Option<String>Trait Implementations§
Source§impl Clone for ExplainRule
impl Clone for ExplainRule
Source§fn clone(&self) -> ExplainRule
fn clone(&self) -> ExplainRule
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 ExplainRule
impl Debug for ExplainRule
Source§impl Default for ExplainRule
impl Default for ExplainRule
Source§fn default() -> ExplainRule
fn default() -> ExplainRule
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExplainRule
impl<'de> Deserialize<'de> for ExplainRule
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 ExplainRule
impl PartialEq for ExplainRule
Source§fn eq(&self, other: &ExplainRule) -> bool
fn eq(&self, other: &ExplainRule) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ExplainRule
impl Serialize for ExplainRule
impl StructuralPartialEq for ExplainRule
Auto Trait Implementations§
impl Freeze for ExplainRule
impl RefUnwindSafe for ExplainRule
impl Send for ExplainRule
impl Sync for ExplainRule
impl Unpin for ExplainRule
impl UnsafeUnpin for ExplainRule
impl UnwindSafe for ExplainRule
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