Enum shuttle_core::Operation [] [src]

pub enum Operation {
    CreateAccount(CreateAccountOperation),
    Payment(PaymentOperation),
    PathPayment(PathPaymentOperation),
    ManageOffer(ManageOfferOperation),
    CreatePassiveOffer(CreatePassiveOfferOperation),
    SetOptions,
    ChangeTrust,
    AllowTrust,
    AccountMerge,
    Inflation(InflationOperation),
    ManageData(ManageDataOperation),
}

An operation that mutates the ledger.

Variants

Create new account.

Send payment.

Send specified payment to account, optionally through path.

Create, update, and delete offer.

Create an offer that won't consume a counter offer.

Set or clear account flags.

Add, update, or remove a trust line.

Allow another account to hold the account credit for an asset.

Transfer balance to destination account.

Generate inflation.

Add, update, or remove account data.

Trait Implementations

impl Debug for Operation
[src]

[src]

Formats the value using the given formatter.

impl Clone for Operation
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Operation
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for Operation
[src]

impl ToXdr<Operation> for Operation
[src]

[src]

Build the object that can be serialized to XDR.

[src]

Serialize to the writer w.

[src]

Serialize to base64.

impl<'de> FromXdr<'de, Operation> for Operation
[src]

[src]

Build the type from the XDR other object .

[src]

Deserialize from a reader r.

[src]

Deserialize from base64.