Struct stellar_client::resources::effect::trade::Trade[][src]

pub struct Trade { /* fields omitted */ }

People on the Stellar network can make offers to buy or sell assets. When an offer is fully or partially fulfilled, a trade happens.

Methods

impl Trade
[src]

Creates a new Trade

The public address of the account that bought a trade

The id of the offer which was used in executing the trade

The public address of the other party in the trade

The amount of the sold asset that was exchanged in this trade

The asset being sold in the trade

The amount of the bought asset that was exchanged in this trade

The asset being bought in the trade

Trait Implementations

impl Debug for Trade
[src]

Formats the value using the given formatter. Read more

impl Clone for Trade
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Trade

impl Sync for Trade