pub struct DelegationValidation {
pub permitted: bool,
pub denials: Vec<DenialReason>,
}Expand description
Result of a delegation validation.
Fields§
§permitted: boolTrue if the operation is permitted under the scope.
denials: Vec<DenialReason>Reasons for denial (empty if permitted).
Trait Implementations§
Source§impl Clone for DelegationValidation
impl Clone for DelegationValidation
Source§fn clone(&self) -> DelegationValidation
fn clone(&self) -> DelegationValidation
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 DelegationValidation
impl Debug for DelegationValidation
Source§impl Default for DelegationValidation
impl Default for DelegationValidation
Source§fn default() -> DelegationValidation
fn default() -> DelegationValidation
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DelegationValidation
impl RefUnwindSafe for DelegationValidation
impl Send for DelegationValidation
impl Sync for DelegationValidation
impl Unpin for DelegationValidation
impl UnsafeUnpin for DelegationValidation
impl UnwindSafe for DelegationValidation
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