RuntimeInner

Struct RuntimeInner 

Source
pub struct RuntimeInner {
Show 15 fields pub storage: HashMap<Vec<u8>, Vec<u8>>, pub block_time: u64, pub block_height: u64, pub caller_addr: Address, pub origin_addr: Address, pub self_addr: Address, pub block_hash: H256, pub tx_hash: H256, pub log: Vec<Vec<u8>>, pub call_return: Vec<Vec<u8>>, pub debug: HashMap<u32, Vec<Vec<u8>>>, pub input: Vec<u8>, pub ret: Vec<u8>, pub hyper_counter: HashMap<Vec<u8>, i64>, pub hyper_list: HashMap<Vec<u8>, Vec<i64>>,
}

Fields§

§storage: HashMap<Vec<u8>, Vec<u8>>§block_time: u64§block_height: u64§caller_addr: Address§origin_addr: Address§self_addr: Address§block_hash: H256§tx_hash: H256§log: Vec<Vec<u8>>§call_return: Vec<Vec<u8>>§debug: HashMap<u32, Vec<Vec<u8>>>§input: Vec<u8>§ret: Vec<u8>§hyper_counter: HashMap<Vec<u8>, i64>§hyper_list: HashMap<Vec<u8>, Vec<i64>>

Trait Implementations§

Source§

impl Default for RuntimeInner

Source§

fn default() -> RuntimeInner

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> JsonSchemaMaybe for T