pub struct CompiledRuntimeClaim {
pub claim: String,
pub kind: RuntimeClaimKind,
pub runtime_mode: RuntimeMode,
pub authority_class: AuthorityClass,
pub proof_state: ClaimProofState,
pub requested_ceiling: ClaimCeiling,
pub effective_ceiling: ClaimCeiling,
pub required_ceiling: ClaimCeiling,
pub allowed: bool,
pub reasons: Vec<String>,
}Expand description
Compiled runtime claim with weakest-link ceiling and allow/deny decision.
Fields§
§claim: StringClaim text.
kind: RuntimeClaimKindRuntime claim kind.
runtime_mode: RuntimeModeRuntime mode supplied by the caller.
Authority class supplied by the caller.
proof_state: ClaimProofStateProof state supplied by proof closure.
requested_ceiling: ClaimCeilingRequested claim ceiling.
effective_ceiling: ClaimCeilingEffective weakest-link ceiling.
required_ceiling: ClaimCeilingMinimum ceiling for this claim kind.
allowed: boolWhether the claim may be emitted affirmatively.
reasons: Vec<String>Downgrade or denial reasons.
Trait Implementations§
Source§impl Clone for CompiledRuntimeClaim
impl Clone for CompiledRuntimeClaim
Source§fn clone(&self) -> CompiledRuntimeClaim
fn clone(&self) -> CompiledRuntimeClaim
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 CompiledRuntimeClaim
impl Debug for CompiledRuntimeClaim
Source§impl<'de> Deserialize<'de> for CompiledRuntimeClaim
impl<'de> Deserialize<'de> for CompiledRuntimeClaim
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
Source§impl PartialEq for CompiledRuntimeClaim
impl PartialEq for CompiledRuntimeClaim
Source§fn eq(&self, other: &CompiledRuntimeClaim) -> bool
fn eq(&self, other: &CompiledRuntimeClaim) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CompiledRuntimeClaim
impl Serialize for CompiledRuntimeClaim
impl Eq for CompiledRuntimeClaim
impl StructuralPartialEq for CompiledRuntimeClaim
Auto Trait Implementations§
impl Freeze for CompiledRuntimeClaim
impl RefUnwindSafe for CompiledRuntimeClaim
impl Send for CompiledRuntimeClaim
impl Sync for CompiledRuntimeClaim
impl Unpin for CompiledRuntimeClaim
impl UnsafeUnpin for CompiledRuntimeClaim
impl UnwindSafe for CompiledRuntimeClaim
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.