[][src]Enum concordium_std::test_infrastructure::ActionsTree

pub enum ActionsTree {
    Accept,
    SimpleTransfer {
        to: AccountAddress,
        amount: Amount,
    },
    Send {
        to: ContractAddress,
        receive_name: String,
        amount: Amount,
        parameter: Vec<u8>,
    },
    AndThen {
        left: Box<ActionsTree>,
        right: Box<ActionsTree>,
    },
    OrElse {
        left: Box<ActionsTree>,
        right: Box<ActionsTree>,
    },
}

An actions tree, used to provide a simpler presentation for testing.

Variants

Accept
SimpleTransfer

Fields of SimpleTransfer

to: AccountAddressamount: Amount
Send

Fields of Send

to: ContractAddressreceive_name: Stringamount: Amountparameter: Vec<u8>
AndThen

Fields of AndThen

left: Box<ActionsTree>right: Box<ActionsTree>
OrElse

Fields of OrElse

left: Box<ActionsTree>right: Box<ActionsTree>

Trait Implementations

impl Debug for ActionsTree[src]

impl Eq for ActionsTree[src]

impl HasActions for ActionsTree[src]

impl PartialEq<ActionsTree> for ActionsTree[src]

impl StructuralEq for ActionsTree[src]

impl StructuralPartialEq for ActionsTree[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.