pub struct StateTransitionRecord {
pub commitment: Commitment,
pub seal_ref: SealRef,
pub rights: Vec<Right>,
pub block_height: u64,
pub verified: bool,
}Expand description
A recorded state transition in the contract history.
Fields§
§commitment: CommitmentThe commitment that resulted from this transition
seal_ref: SealRefThe seal that was consumed or assigned
rights: Vec<Right>The Rights involved in this transition
block_height: u64Block height when this was anchored on-chain
verified: boolWhether this transition has been verified by the client
Trait Implementations§
Source§impl Clone for StateTransitionRecord
impl Clone for StateTransitionRecord
Source§fn clone(&self) -> StateTransitionRecord
fn clone(&self) -> StateTransitionRecord
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 StateTransitionRecord
impl Debug for StateTransitionRecord
Source§impl<'de> Deserialize<'de> for StateTransitionRecord
impl<'de> Deserialize<'de> for StateTransitionRecord
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 StateTransitionRecord
impl RefUnwindSafe for StateTransitionRecord
impl Send for StateTransitionRecord
impl Sync for StateTransitionRecord
impl Unpin for StateTransitionRecord
impl UnsafeUnpin for StateTransitionRecord
impl UnwindSafe for StateTransitionRecord
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