Enum shuttle_core::Operation
[−]
[src]
pub enum Operation {
CreateAccount {
source: Option<StrKey>,
destination: StrKey,
amount: Amount,
},
Payment {
source: Option<StrKey>,
destination: StrKey,
asset: Asset,
amount: Amount,
},
PathPayment {
source: Option<StrKey>,
},
ManageOffer {
source: Option<StrKey>,
},
CreatePassiveOffer {
source: Option<StrKey>,
},
SetOptions {
source: Option<StrKey>,
},
ChangeTrust {
source: Option<StrKey>,
},
AllowTrust {
source: Option<StrKey>,
},
AccountMerge {
source: Option<StrKey>,
destination: StrKey,
},
Inflation {
source: Option<StrKey>,
},
ManageData {
source: Option<StrKey>,
},
}Variants
CreateAccountFields of CreateAccount
source: Option<StrKey> | |
destination: StrKey | |
amount: Amount |
PaymentFields of Payment
source: Option<StrKey> | |
destination: StrKey | |
asset: Asset | |
amount: Amount |
PathPaymentFields of PathPayment
source: Option<StrKey> |
ManageOfferFields of ManageOffer
source: Option<StrKey> |
CreatePassiveOfferFields of CreatePassiveOffer
source: Option<StrKey> |
SetOptionsFields of SetOptions
source: Option<StrKey> |
ChangeTrustFields of ChangeTrust
source: Option<StrKey> |
AllowTrustFields of AllowTrust
source: Option<StrKey> |
AccountMergeFields of AccountMerge
source: Option<StrKey> | |
destination: StrKey |
InflationFields of Inflation
source: Option<StrKey> |
ManageDataFields of ManageData
source: Option<StrKey> |
Methods
impl Operation[src]
fn create_account(destination: StrKey, amount: Amount) -> Operation[src]
fn create_account_with_source(
source: StrKey,
destination: StrKey,
amount: Amount
) -> Operation[src]
source: StrKey,
destination: StrKey,
amount: Amount
) -> Operation
fn payment(destination: StrKey, asset: Asset, amount: Amount) -> Operation[src]
fn payment_with_source(
source: StrKey,
destination: StrKey,
asset: Asset,
amount: Amount
) -> Operation[src]
source: StrKey,
destination: StrKey,
asset: Asset,
amount: Amount
) -> Operation