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
CreateAccount(CreateAccountOperation)Create new account.
Payment(PaymentOperation)Send payment.
PathPayment(PathPaymentOperation)Send specified payment to account, optionally through path.
ManageOffer(ManageOfferOperation)Create, update, and delete offer.
CreatePassiveOffer(CreatePassiveOfferOperation)Create an offer that won't consume a counter offer.
SetOptionsSet or clear account flags.
ChangeTrustAdd, update, or remove a trust line.
AllowTrustAllow another account to hold the account credit for an asset.
AccountMergeTransfer balance to destination account.
Inflation(InflationOperation)Generate inflation.
ManageData(ManageDataOperation)Add, update, or remove account data.
Trait Implementations
impl Clone for Operation[src]
fn clone(&self) -> Operation[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Eq for Operation[src]
impl ToXdr<Operation> for Operation[src]
fn to_xdr(&self) -> Result<Operation, Error>[src]
Build the object that can be serialized to XDR.
fn to_writer<W>(&self, w: &mut W) -> Result<(), Error> where
W: Write, [src]
W: Write,
Serialize to the writer w.
fn to_base64(&self) -> Result<String, Error>[src]
Serialize to base64.
impl PartialEq<Operation> for Operation[src]
impl Debug for Operation[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>[src]
Formats the value using the given formatter.