Enum shuttle_sdk::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 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 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 PartialEq<Operation> for Operation
[src]

[src]

[src]

impl Debug for Operation
[src]

[src]

Formats the value using the given formatter.

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

[src]