Struct near_sdk_sim::runtime::Block [−][src]
pub struct Block {
pub epoch_height: EpochHeight,
pub block_height: BlockHeight,
pub block_timestamp: u64,
pub gas_price: Balance,
pub gas_limit: Gas,
// some fields omitted
}Fields
epoch_height: EpochHeightblock_height: BlockHeightblock_timestamp: u64gas_price: Balancegas_limit: GasImplementations
impl Block[src]
impl Block[src]pub fn genesis(genesis_config: &GenesisConfig) -> Self[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Block
impl RefUnwindSafe for Blockimpl UnwindSafe for Block
impl UnwindSafe for BlockBlanket Implementations
impl<T> Instrument for T[src]
impl<T> Instrument for T[src]pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
impl<T> Same<T> for T
impl<T> Same<T> for Ttype Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,