Struct forest_vm::ActorState
source · [−]pub struct ActorState {
pub code: Cid,
pub state: Cid,
pub sequence: u64,
pub balance: TokenAmount,
}
Expand description
State of all actor implementations.
Fields
code: Cid
Link to code for the actor.
state: Cid
Link to the state of the actor.
sequence: u64
Sequence of the actor.
balance: TokenAmount
Tokens available to the actor.
Implementations
Constructor for actor state
Safely deducts funds from an Actor
Deposits funds to an Actor
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ActorState
impl Send for ActorState
impl Sync for ActorState
impl Unpin for ActorState
impl UnwindSafe for ActorState
Blanket Implementations
Mutably borrows from an owned value. Read more