[][src]Enum private_currency::api::FullEvent

pub enum FullEvent {
    CreateWallet(CreateWallet),
    Transfer(Transfer),
    Rollback(Transfer),
}

Event changing balance of a wallet.

Variants

Event corresponding to wallet creation. There is only one such event in wallet history - the very first one.

Transfer to or from the wallet.

Note that outgoing transfers are recorded in the sender’s history immediately after the commitment. The incoming transfers, on the other hand, need to be Accepted.

Rolled-back transfer returning the funds to the sender.

Trait Implementations

impl Clone for FullEvent
[src]

Performs copy-assignment from source. Read more

impl PartialEq<FullEvent> for FullEvent
[src]

impl Debug for FullEvent
[src]

impl Serialize for FullEvent
[src]

impl<'de> Deserialize<'de> for FullEvent
[src]

Auto Trait Implementations

impl Send for FullEvent

impl Sync for FullEvent

Blanket Implementations

impl<T> From for T
[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> Erased for T

impl<T> Erased for T

impl<T> SerializeContent for T where
    T: Serialize
[src]

impl<T> Same for T

Should always be Self