Struct stellar_client::resources::operation::Operation[][src]

pub struct Operation { /* fields omitted */ }

Operations are objects that represent a desired change to the ledger: payments, offers to exchange currency, changes made to account options, etc. Operations are submitted to the Stellar network grouped in a Transaction.

Methods

impl Operation
[src]

The canonical id of this operation, suitable for use as the :id parameter for url templates that require an operation’s ID.

A paging token suitable for use as a cursor parameter.

The hash for the transaction that the operation was part of

Specifies the type of operation, See “Types” section below for reference.

Returns the kind of the operation

Returns the name of the operation kind

Returns true if the operation is a create_account operation

Returns true if the operation is a payment operation

Returns true if the operation is a path payment operation

Returns true if the operation is a manage offer operation

Returns true if the operation is a create passive offer operation

Returns true if the operation is a set options offer operation

Returns true if the operation is an inflation operation

Returns true if the operation is a change trust operation

Returns true if the operation is an allow trust operation

Returns true if the operation is an account merge operation

Returns true if the operation is a manage data operation

Trait Implementations

impl Debug for Operation
[src]

Formats the value using the given formatter. Read more

impl Clone for Operation
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

impl Send for Operation

impl Sync for Operation