pub struct PathEvaluation {
pub decision: PathAccessDecision,
pub protected_target: bool,
pub git_metadata: bool,
pub denial_reason: Option<PathDenialReason>,
}Expand description
Structured result of evaluating a path against Merry’s single authoritative filesystem access policy.
Fields§
§decision: PathAccessDecisionFinal three-state admission decision.
protected_target: boolWhether the target hits a built-in Merry protected path (ProductPrivate
or ProductReadOnly write) that must remain Once-only and default-Deny.
git_metadata: boolWhether the lexical or canonical target touches .git metadata.
denial_reason: Option<PathDenialReason>Specific reason when decision == PathAccessDecision::Deny.
Trait Implementations§
Source§impl Clone for PathEvaluation
impl Clone for PathEvaluation
impl Copy for PathEvaluation
Source§impl Debug for PathEvaluation
impl Debug for PathEvaluation
impl Eq for PathEvaluation
Source§impl PartialEq for PathEvaluation
impl PartialEq for PathEvaluation
impl StructuralPartialEq for PathEvaluation
Auto Trait Implementations§
impl Forget for PathEvaluation
impl Freeze for PathEvaluation
impl Move for PathEvaluation
impl RefUnwindSafe for PathEvaluation
impl Send for PathEvaluation
impl Sync for PathEvaluation
impl Unpin for PathEvaluation
impl UnsafeUnpin for PathEvaluation
impl UnwindSafe for PathEvaluation
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.