pub struct AuthDecisionWithProof {
pub allowed: bool,
pub reasons: Vec<String>,
pub evaluation_time_us: u64,
}Expand description
Authorization decision with metadata (simplified - no cryptographic proofs in open-core)
Note: Cryptographic Merkle proofs are a commercial feature available in p47h-pro. This open-core version only provides basic authorization decisions.
Fields§
§allowed: boolWhether the action is allowed
reasons: Vec<String>Human-readable reasons for the decision
evaluation_time_us: u64Evaluation time in microseconds (deterministic, no floating point)
Trait Implementations§
Source§impl Clone for AuthDecisionWithProof
impl Clone for AuthDecisionWithProof
Source§fn clone(&self) -> AuthDecisionWithProof
fn clone(&self) -> AuthDecisionWithProof
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 AuthDecisionWithProof
impl Debug for AuthDecisionWithProof
Source§impl<'de> Deserialize<'de> for AuthDecisionWithProof
impl<'de> Deserialize<'de> for AuthDecisionWithProof
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AuthDecisionWithProof
impl RefUnwindSafe for AuthDecisionWithProof
impl Send for AuthDecisionWithProof
impl Sync for AuthDecisionWithProof
impl Unpin for AuthDecisionWithProof
impl UnsafeUnpin for AuthDecisionWithProof
impl UnwindSafe for AuthDecisionWithProof
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