pub struct StateRootWithAuxInfo {
pub state_root: StateRoot,
pub aux_info: StateRootAuxInfo,
}
Expand description
This struct is stored as state execution result and is used to compute state of children blocks.
Fields§
§state_root: StateRoot
§aux_info: StateRootAuxInfo
Implementations§
Trait Implementations§
Source§impl Clone for StateRootWithAuxInfo
impl Clone for StateRootWithAuxInfo
Source§fn clone(&self) -> StateRootWithAuxInfo
fn clone(&self) -> StateRootWithAuxInfo
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for StateRootWithAuxInfo
impl Debug for StateRootWithAuxInfo
Source§impl Decodable for StateRootWithAuxInfo
impl Decodable for StateRootWithAuxInfo
Source§impl<'de> Deserialize<'de> for StateRootWithAuxInfo
impl<'de> Deserialize<'de> for StateRootWithAuxInfo
Source§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
Source§impl Encodable for StateRootWithAuxInfo
impl Encodable for StateRootWithAuxInfo
Source§impl From<(&StateRoot, &StateRootAuxInfo)> for StateRootWithAuxInfo
impl From<(&StateRoot, &StateRootAuxInfo)> for StateRootWithAuxInfo
Source§fn from(x: (&StateRoot, &StateRootAuxInfo)) -> Self
fn from(x: (&StateRoot, &StateRootAuxInfo)) -> Self
Converts to this type from the input type.
Source§impl PartialEq for StateRootWithAuxInfo
impl PartialEq for StateRootWithAuxInfo
Source§impl Serialize for StateRootWithAuxInfo
impl Serialize for StateRootWithAuxInfo
impl Eq for StateRootWithAuxInfo
impl StructuralPartialEq for StateRootWithAuxInfo
Auto Trait Implementations§
impl Freeze for StateRootWithAuxInfo
impl RefUnwindSafe for StateRootWithAuxInfo
impl Send for StateRootWithAuxInfo
impl Sync for StateRootWithAuxInfo
impl Unpin for StateRootWithAuxInfo
impl UnwindSafe for StateRootWithAuxInfo
Blanket Implementations§
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
§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
Compare self to
key
and return true
if they are equal.