pub enum Step {
ExternalSteps {
path: String,
},
SetState {
comment: Option<String>,
accounts: BTreeMap<AddressKey, Account>,
new_addresses: Vec<NewAddress>,
block_hashes: Vec<BytesValue>,
previous_block_info: Box<Option<BlockInfo>>,
current_block_info: Box<Option<BlockInfo>>,
},
ScCall {
tx_id: String,
comment: Option<String>,
tx: Box<TxCall>,
expect: Option<TxExpect>,
},
ScQuery {
tx_id: String,
comment: Option<String>,
tx: Box<TxQuery>,
expect: Option<TxExpect>,
},
ScDeploy {
tx_id: String,
comment: Option<String>,
tx: Box<TxDeploy>,
expect: Option<TxExpect>,
},
Transfer {
tx_id: String,
comment: Option<String>,
tx: Box<TxTransfer>,
},
ValidatorReward {
tx_id: String,
comment: Option<String>,
tx: Box<TxValidatorReward>,
},
CheckState {
comment: Option<String>,
accounts: CheckAccounts,
},
DumpState {
comment: Option<String>,
},
}Variants§
ExternalSteps
SetState
Fields
§
accounts: BTreeMap<AddressKey, Account>§
new_addresses: Vec<NewAddress>§
block_hashes: Vec<BytesValue>ScCall
ScQuery
ScDeploy
Transfer
ValidatorReward
CheckState
DumpState
Trait Implementations§
source§impl InterpretableFrom<StepRaw> for Step
impl InterpretableFrom<StepRaw> for Step
fn interpret_from(from: StepRaw, context: &InterpreterContext) -> Self
Auto Trait Implementations§
impl RefUnwindSafe for Step
impl Send for Step
impl Sync for Step
impl Unpin for Step
impl UnwindSafe for Step
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