pub struct PolicyChange {
pub kind: String,
pub description: String,
pub risk: String,
}Expand description
A single semantic change between two policy expressions.
Fields§
§kind: StringThe kind of change: "added", "removed", or "changed".
description: StringHuman-readable description of the predicate or structural element that changed.
risk: StringRisk classification: "HIGH", "MEDIUM", or "LOW".
Trait Implementations§
Source§impl Clone for PolicyChange
impl Clone for PolicyChange
Source§fn clone(&self) -> PolicyChange
fn clone(&self) -> PolicyChange
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 moreAuto Trait Implementations§
impl Freeze for PolicyChange
impl RefUnwindSafe for PolicyChange
impl Send for PolicyChange
impl Sync for PolicyChange
impl Unpin for PolicyChange
impl UnsafeUnpin for PolicyChange
impl UnwindSafe for PolicyChange
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