#[repr(C)]pub struct SemanticTransitionReceipt {Show 27 fields
pub proposal: u64,
pub catalogue_generation: u64,
pub catalogue_digest: Identity256,
pub admission_binding: Identity256,
pub ordinal: u32,
pub lane: u32,
pub slot: u32,
pub field: u32,
pub kind: u32,
pub choice: u32,
pub legal_count: u32,
pub active_count: u32,
pub selected_rank: u32,
pub reserved: u32,
pub key: [u32; 2],
pub counter: [u32; 4],
pub random_words: [u32; 4],
pub draw: u64,
pub cdf_start: u64,
pub cdf_end: u64,
pub mass: u64,
pub p: [u64; 3],
pub q: [u64; 3],
pub factor_denominator: [u64; 3],
pub cumulative_mass_below: [u64; 3],
pub active_fields: u32,
pub null_fields: u32,
}Expand description
Device-produced receipt. Integers use three little-endian 64-bit limbs. The exact probability is p/q; the exact importance factor is p/factor_denominator. Singleton rows canonically use 1/1 for both.
Fields§
§proposal: u64§catalogue_generation: u64§catalogue_digest: Identity256§admission_binding: Identity256Binds the retained admission, acquired base, owner and logical codebooks.
ordinal: u32§lane: u32§slot: u32§field: u32§kind: u32§choice: u32§legal_count: u32§active_count: u32§selected_rank: u32§reserved: u32§key: [u32; 2]§counter: [u32; 4]§random_words: [u32; 4]§draw: u64§cdf_start: u64§cdf_end: u64§mass: u64§p: [u64; 3]§q: [u64; 3]§factor_denominator: [u64; 3]§cumulative_mass_below: [u64; 3]§active_fields: u32§null_fields: u32Trait Implementations§
Source§impl Clone for SemanticTransitionReceipt
impl Clone for SemanticTransitionReceipt
Source§fn clone(&self) -> SemanticTransitionReceipt
fn clone(&self) -> SemanticTransitionReceipt
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 moreimpl Copy for SemanticTransitionReceipt
Source§impl Debug for SemanticTransitionReceipt
impl Debug for SemanticTransitionReceipt
Source§impl Default for SemanticTransitionReceipt
impl Default for SemanticTransitionReceipt
Source§fn default() -> SemanticTransitionReceipt
fn default() -> SemanticTransitionReceipt
Returns the “default value” for a type. Read more
impl DeviceRepr for SemanticTransitionReceipt
impl Eq for SemanticTransitionReceipt
impl StructuralPartialEq for SemanticTransitionReceipt
Auto Trait Implementations§
impl Freeze for SemanticTransitionReceipt
impl RefUnwindSafe for SemanticTransitionReceipt
impl Send for SemanticTransitionReceipt
impl Sync for SemanticTransitionReceipt
impl Unpin for SemanticTransitionReceipt
impl UnsafeUnpin for SemanticTransitionReceipt
impl UnwindSafe for SemanticTransitionReceipt
Blanket Implementations§
impl<T> Allocation for T
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more