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§fn eq(&self, other: &StateRootWithAuxInfo) -> bool
fn eq(&self, other: &StateRootWithAuxInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StateRootWithAuxInfo
impl Serialize for StateRootWithAuxInfo
impl Eq for StateRootWithAuxInfo
impl StructuralPartialEq for StateRootWithAuxInfo
Auto Trait Implementations§
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