#[non_exhaustive]pub struct AccessRightsEvaluation {
pub decision: AccessRightsDecision,
pub unresolved: Vec<UnresolvedAccessRights>,
}Expand description
What evaluate_access_rights found for one credential at one Access
Point.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.decision: AccessRightsDecisionThe outcome of the Access Rights check.
unresolved: Vec<UnresolvedAccessRights>The enabled Assigned_Access_Rights elements that gave no rules
because their Access Rights object couldn’t be read here, in array
order. The decision leaves them out. Clause 12.35.18 asks for that
with a missing object or one that isn’t Access Rights; for an object
in another device, or behind the wildcard Device, it is this
evaluator’s policy, since it reads nothing remotely. An application
that would rather deny while part of a credential’s rights is out of
sight checks that this is empty. Always empty for
AccessRightsDecision::Exempt, which reads no rights.
Trait Implementations§
Source§impl Clone for AccessRightsEvaluation
impl Clone for AccessRightsEvaluation
Source§impl Debug for AccessRightsEvaluation
impl Debug for AccessRightsEvaluation
impl Eq for AccessRightsEvaluation
Source§impl PartialEq for AccessRightsEvaluation
impl PartialEq for AccessRightsEvaluation
impl StructuralPartialEq for AccessRightsEvaluation
Auto Trait Implementations§
impl Freeze for AccessRightsEvaluation
impl RefUnwindSafe for AccessRightsEvaluation
impl Send for AccessRightsEvaluation
impl Sync for AccessRightsEvaluation
impl Unpin for AccessRightsEvaluation
impl UnsafeUnpin for AccessRightsEvaluation
impl UnwindSafe for AccessRightsEvaluation
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