[][src]Enum doublecount::ActionType

pub enum ActionType {
    EditAccountStatus,
    BalanceAssertion,
    Transaction,
}

A representation of what type of Action is being performed.

Variants

EditAccountStatus

An Action to edit the status of an Account. Represented by the EditAccountStatus struct.

This action has the highest priority when being sorted, because other actions on the same day may depend on this already having been executed.

BalanceAssertion

An Action to assert the current balance of an account while a Program is being executed. Represented by a BalanceAssertion struct.

Transaction

A Action to perform a transaction between Accounts. Represented by the Transaction struct.

Methods

impl ActionType[src]

pub fn iterator() -> Iter<'static, ActionType>[src]

Return an iterator over all available ActionType variants.

Trait Implementations

impl Clone for ActionType[src]

impl Debug for ActionType[src]

impl Eq for ActionType[src]

impl Hash for ActionType[src]

impl Ord for ActionType[src]

impl PartialEq<ActionType> for ActionType[src]

impl PartialOrd<ActionType> for ActionType[src]

impl StructuralEq for ActionType[src]

impl StructuralPartialEq for ActionType[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.