[][src]Enum mandos::Step

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>,
    },
    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

Fields of ExternalSteps

path: String
SetState

Fields of 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

Fields of ScCall

tx_id: Stringcomment: Option<String>tx: Box<TxCall>expect: Option<TxExpect>
ScDeploy

Fields of ScDeploy

tx_id: Stringcomment: Option<String>tx: Box<TxDeploy>expect: Option<TxExpect>
Transfer

Fields of Transfer

tx_id: Stringcomment: Option<String>tx: Box<TxTransfer>
ValidatorReward

Fields of ValidatorReward

tx_id: Stringcomment: Option<String>tx: Box<TxValidatorReward>
CheckState

Fields of CheckState

comment: Option<String>accounts: CheckAccounts
DumpState

Fields of DumpState

comment: Option<String>

Trait Implementations

impl Debug for Step[src]

impl InterpretableFrom<StepRaw> for Step[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.