pub struct ActorState {
pub code: Cid,
pub state: Cid,
pub sequence: u64,
pub balance: TokenAmount,
pub delegated_address: Option<Address>,
}Fields§
§code: CidLink to code for the actor.
state: CidLink to the state of the actor.
sequence: u64Sequence of the actor.
balance: TokenAmountTokens available to the actor.
delegated_address: Option<Address>The actor’s “delegated” address, if assigned.
This field is set on actor creation and never modified.
Trait Implementations§
Source§impl Clone for ActorState
impl Clone for ActorState
Source§fn clone(&self) -> ActorState
fn clone(&self) -> ActorState
Returns a duplicate 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 ActorState
impl Debug for ActorState
Source§impl<'de> Deserialize<'de> for ActorState
impl<'de> Deserialize<'de> for ActorState
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 PartialEq for ActorState
impl PartialEq for ActorState
Source§impl Serialize for ActorState
impl Serialize for ActorState
impl Eq for ActorState
impl StructuralPartialEq for ActorState
Auto Trait Implementations§
impl Freeze for ActorState
impl RefUnwindSafe for ActorState
impl Send for ActorState
impl Sync for ActorState
impl Unpin for ActorState
impl UnwindSafe for ActorState
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