pub struct DelegationChainResult {
pub valid: bool,
pub max_depth_exceeded: bool,
pub privilege_escalation: bool,
pub violations: Vec<String>,
}Expand description
Result of validating an entire delegation chain.
Fields§
§valid: boolWhether the full chain is valid.
max_depth_exceeded: boolWhether the chain exceeds any agent’s max delegation depth.
privilege_escalation: boolWhether a privilege escalation was detected in the chain.
violations: Vec<String>Human-readable descriptions of each violation found.
Trait Implementations§
Source§impl Clone for DelegationChainResult
impl Clone for DelegationChainResult
Source§fn clone(&self) -> DelegationChainResult
fn clone(&self) -> DelegationChainResult
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 DelegationChainResult
impl RefUnwindSafe for DelegationChainResult
impl Send for DelegationChainResult
impl Sync for DelegationChainResult
impl Unpin for DelegationChainResult
impl UnsafeUnpin for DelegationChainResult
impl UnwindSafe for DelegationChainResult
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