pub struct DecisionMetadata {
pub decision_id: String,
pub invocation_id: String,
pub dedup_key: String,
pub capability: String,
pub chain_depth: usize,
pub timestamp: DateTime<Utc>,
}Available on crate feature
sdk only.Expand description
Evidence derived from the core decision. Not a capability.
Fields§
§decision_id: StringIdentifies this decision. Correlates a denial or allow across logs and receipts.
invocation_id: StringFresh per attempt. Two retries of one logical operation have different values.
dedup_key: StringProtocol deduplication key over the signed argument view. Stable across retries of the same logical operation, so a downstream store can coalesce or reject repeats.
capability: StringCapability name the decision authorized.
chain_depth: usizeNumber of warrants from root to leaf.
timestamp: DateTime<Utc>The attempt’s captured verification instant, not the time this struct was read.
Trait Implementations§
Source§impl Clone for DecisionMetadata
impl Clone for DecisionMetadata
Auto Trait Implementations§
impl Freeze for DecisionMetadata
impl RefUnwindSafe for DecisionMetadata
impl Send for DecisionMetadata
impl Sync for DecisionMetadata
impl Unpin for DecisionMetadata
impl UnsafeUnpin for DecisionMetadata
impl UnwindSafe for DecisionMetadata
Blanket Implementations§
Source§impl<T> AnyExt for T
impl<T> AnyExt for T
Source§fn downcast_ref<T>(this: &Self) -> Option<&T>where
T: Any,
fn downcast_ref<T>(this: &Self) -> Option<&T>where
T: Any,
Attempts to downcast this to
T behind referenceSource§fn downcast_mut<T>(this: &mut Self) -> Option<&mut T>where
T: Any,
fn downcast_mut<T>(this: &mut Self) -> Option<&mut T>where
T: Any,
Attempts to downcast this to
T behind mutable referenceSource§fn downcast_rc<T>(this: Rc<Self>) -> Result<Rc<T>, Rc<Self>>where
T: Any,
fn downcast_rc<T>(this: Rc<Self>) -> Result<Rc<T>, Rc<Self>>where
T: Any,
Attempts to downcast this to
T behind Rc pointerSource§fn downcast_arc<T>(this: Arc<Self>) -> Result<Arc<T>, Arc<Self>>where
T: Any,
fn downcast_arc<T>(this: Arc<Self>) -> Result<Arc<T>, Arc<Self>>where
T: Any,
Attempts to downcast this to
T behind Arc pointerSource§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