pub struct AuthorizationDifferentialResult { /* private fields */ }Expand description
Complete raw-value-free differential receipt.
Implementations§
Source§impl AuthorizationDifferentialResult
impl AuthorizationDifferentialResult
Sourcepub fn compare(
policy: &AuthorizationReviewPolicy,
principals: AuthorizationPrincipalPairProof,
views: [&AuthorizationReviewView; 4],
) -> Result<Self, AuthorizationDifferentialError>
pub fn compare( policy: &AuthorizationReviewPolicy, principals: AuthorizationPrincipalPairProof, views: [&AuthorizationReviewView; 4], ) -> Result<Self, AuthorizationDifferentialError>
Compares exactly four role-complete views without performing I/O.
Sourcepub const fn outcome(&self) -> AuthorizationReviewOutcome
pub const fn outcome(&self) -> AuthorizationReviewOutcome
Returns the typed terminal classification.
Sourcepub const fn algorithm_version(&self) -> &'static str
pub const fn algorithm_version(&self) -> &'static str
Returns the exact comparison algorithm revision.
Sourcepub const fn policy_id(&self) -> AuthorizationReviewPolicyId
pub const fn policy_id(&self) -> AuthorizationReviewPolicyId
Returns the policy identity that governed all four views.
Sourcepub const fn resource_scope_id(&self) -> AuthorizationResourceScopeId
pub const fn resource_scope_id(&self) -> AuthorizationResourceScopeId
Returns the exact selected-resource scope identity.
Sourcepub const fn receipt_id(&self) -> AuthorizationDifferentialReceiptId
pub const fn receipt_id(&self) -> AuthorizationDifferentialReceiptId
Returns the ordered four-view correlation receipt.
Sourcepub const fn primary_stability(&self) -> Option<DimensionEquivalence>
pub const fn primary_stability(&self) -> Option<DimensionEquivalence>
Returns primary replay stability when comparison reached that stage.
Sourcepub const fn peer_stability(&self) -> Option<DimensionEquivalence>
pub const fn peer_stability(&self) -> Option<DimensionEquivalence>
Returns peer replay stability when comparison reached that stage.
Sourcepub const fn cross_candidate(&self) -> Option<DimensionEquivalence>
pub const fn cross_candidate(&self) -> Option<DimensionEquivalence>
Returns first-round cross-principal equivalence when available.
Sourcepub const fn cross_replay(&self) -> Option<DimensionEquivalence>
pub const fn cross_replay(&self) -> Option<DimensionEquivalence>
Returns replay cross-principal equivalence when available.
Trait Implementations§
Source§impl Clone for AuthorizationDifferentialResult
impl Clone for AuthorizationDifferentialResult
Source§fn clone(&self) -> AuthorizationDifferentialResult
fn clone(&self) -> AuthorizationDifferentialResult
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 moreimpl Eq for AuthorizationDifferentialResult
impl StructuralPartialEq for AuthorizationDifferentialResult
Auto Trait Implementations§
impl Freeze for AuthorizationDifferentialResult
impl RefUnwindSafe for AuthorizationDifferentialResult
impl Send for AuthorizationDifferentialResult
impl Sync for AuthorizationDifferentialResult
impl Unpin for AuthorizationDifferentialResult
impl UnsafeUnpin for AuthorizationDifferentialResult
impl UnwindSafe for AuthorizationDifferentialResult
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more