pub struct PolicyDecisionRecord {
pub rule_id: String,
pub effect: String,
pub notes: Option<String>,
pub grants_checked: Vec<String>,
pub matching_grant: Option<String>,
pub evaluation_steps: Vec<String>,
}Expand description
A recorded policy decision relevant to this PR.
Fields§
§rule_id: String§effect: String§notes: Option<String>§grants_checked: Vec<String>Grants that were checked during evaluation (v0.3.3).
matching_grant: Option<String>The grant that matched (if any) (v0.3.3).
evaluation_steps: Vec<String>Evaluation steps the policy engine performed (v0.3.3).
Trait Implementations§
Source§impl Clone for PolicyDecisionRecord
impl Clone for PolicyDecisionRecord
Source§fn clone(&self) -> PolicyDecisionRecord
fn clone(&self) -> PolicyDecisionRecord
Returns a duplicate of the value. Read more
1.0.0 · 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 PolicyDecisionRecord
impl Debug for PolicyDecisionRecord
Source§impl<'de> Deserialize<'de> for PolicyDecisionRecord
impl<'de> Deserialize<'de> for PolicyDecisionRecord
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
Auto Trait Implementations§
impl Freeze for PolicyDecisionRecord
impl RefUnwindSafe for PolicyDecisionRecord
impl Send for PolicyDecisionRecord
impl Sync for PolicyDecisionRecord
impl Unpin for PolicyDecisionRecord
impl UnsafeUnpin for PolicyDecisionRecord
impl UnwindSafe for PolicyDecisionRecord
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