pub struct ReadEvalDecision {
pub origin: RequestOrigin,
pub codec: Symbol,
pub expected_shape: Option<Symbol>,
pub requires: Vec<CapabilityName>,
pub requested: Vec<CapabilityName>,
pub active: Vec<CapabilityName>,
pub outcome: ReadEvalOutcome,
}Expand description
Data recorded for one explicit read-eval admission decision.
Fields§
§origin: RequestOriginOpen origin data describing who asked for eval.
codec: SymbolCodec symbol used to decode the request source.
expected_shape: Option<Symbol>Symbol naming the expected shape, when the shape exposes one.
requires: Vec<CapabilityName>Caller powers that were required before eval could run.
requested: Vec<CapabilityName>Maximum powers requested by the eval body (allow).
active: Vec<CapabilityName>Powers that actually ran after diminishment.
outcome: ReadEvalOutcomeThe gate outcome.
Trait Implementations§
Source§impl Clone for ReadEvalDecision
impl Clone for ReadEvalDecision
Source§fn clone(&self) -> ReadEvalDecision
fn clone(&self) -> ReadEvalDecision
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 ReadEvalDecision
impl Debug for ReadEvalDecision
impl Eq for ReadEvalDecision
Source§impl PartialEq for ReadEvalDecision
impl PartialEq for ReadEvalDecision
impl StructuralPartialEq for ReadEvalDecision
Auto Trait Implementations§
impl Freeze for ReadEvalDecision
impl RefUnwindSafe for ReadEvalDecision
impl Send for ReadEvalDecision
impl Sync for ReadEvalDecision
impl Unpin for ReadEvalDecision
impl UnsafeUnpin for ReadEvalDecision
impl UnwindSafe for ReadEvalDecision
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