Struct tg_bindings::BlockParams
source · [−]Fields
max_bytes: Option<i64>Maximum number of bytes (over all tx) to be included in a block
max_gas: Option<i64>Maximum gas (over all tx) to be executed in one block. If set, more txs may be included in a block, but when executing, all tx after this is limit are consumed will immediately error
Trait Implementations
Returns the “default value” for a type. Read more
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for BlockParams
impl Send for BlockParams
impl Sync for BlockParams
impl Unpin for BlockParams
impl UnwindSafe for BlockParams
Blanket Implementations
Mutably borrows from an owned value. Read more