pub struct TruthCeilingState {
pub runtime_mode: RuntimeMode,
pub proof_state: ProofState,
pub claim_ceiling: TruthCeiling,
pub per_claim: BTreeMap<String, TruthCeiling>,
}Expand description
Effective truth ceiling for a snapshot, capturing runtime mode, proof state, and per-claim ceilings.
Fields§
§runtime_mode: RuntimeModeRuntime mode bounding this snapshot.
proof_state: ProofStateProof state available for this snapshot.
claim_ceiling: TruthCeilingAggregate claim ceiling for this snapshot.
per_claim: BTreeMap<String, TruthCeiling>Per-claim overrides.
Trait Implementations§
Source§impl Clone for TruthCeilingState
impl Clone for TruthCeilingState
Source§fn clone(&self) -> TruthCeilingState
fn clone(&self) -> TruthCeilingState
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 TruthCeilingState
impl Debug for TruthCeilingState
Source§impl Default for TruthCeilingState
impl Default for TruthCeilingState
Source§impl<'de> Deserialize<'de> for TruthCeilingStatewhere
TruthCeilingState: Default,
impl<'de> Deserialize<'de> for TruthCeilingStatewhere
TruthCeilingState: Default,
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 Ord for TruthCeilingState
impl Ord for TruthCeilingState
Source§fn cmp(&self, other: &TruthCeilingState) -> Ordering
fn cmp(&self, other: &TruthCeilingState) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TruthCeilingState
impl PartialEq for TruthCeilingState
Source§fn eq(&self, other: &TruthCeilingState) -> bool
fn eq(&self, other: &TruthCeilingState) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for TruthCeilingState
impl PartialOrd for TruthCeilingState
Source§impl Serialize for TruthCeilingState
impl Serialize for TruthCeilingState
impl Eq for TruthCeilingState
impl StructuralPartialEq for TruthCeilingState
Auto Trait Implementations§
impl Freeze for TruthCeilingState
impl RefUnwindSafe for TruthCeilingState
impl Send for TruthCeilingState
impl Sync for TruthCeilingState
impl Unpin for TruthCeilingState
impl UnsafeUnpin for TruthCeilingState
impl UnwindSafe for TruthCeilingState
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