pub struct StateRoot {
pub version: StateTreeVersion,
pub actors: Cid,
pub info: Cid,
}Expand description
State root information. Contains information about the version of the state tree, the root of the tree, and a link to the information about the tree.
Fields§
§version: StateTreeVersionState tree version
actors: CidActors tree. The structure depends on the state root version.
info: CidInfo. The structure depends on the state root version.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for StateRoot
impl<'de> Deserialize<'de> for StateRoot
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
Auto Trait Implementations§
impl Freeze for StateRoot
impl RefUnwindSafe for StateRoot
impl Send for StateRoot
impl Sync for StateRoot
impl Unpin for StateRoot
impl UnsafeUnpin for StateRoot
impl UnwindSafe for StateRoot
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