Struct TxContext
pub struct TxContext {
pub chain_id: Field,
pub version: Field,
pub gas_settings: GasSettings,
}
Fields
chain_id: Fieldversion: Fieldgas_settings: GasSettingsImplementations
impl TxContext
pub fn new(chain_id: Field, version: Field, gas_settings: GasSettings) -> Self
Trait implementations
impl Deserialize for TxContext
pub fn deserialize(fields: [Field; 10]) -> Self
pub fn stream_deserialize<let K: u32>(reader: &mut Reader<K>) -> Self
impl Empty for TxContext
pub fn empty() -> Self
pub fn is_empty(self) -> bool
pub fn assert_empty<let S: u32>(self, msg: str<S>)
impl Eq for TxContext
pub fn eq(_self: Self, _other: Self) -> bool