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

pub struct Trade { /* fields omitted */ }

A trade represents an offer that was fulfilled between two assets and accounts.

https://www.stellar.org/developers/horizon/reference/resources/trade.html

Methods

impl Trade
[src]

The id of the trade.

A paging_token suitable for use as a cursor parameter.

The closing time of the trade on the ledger

The id of the offer involved in the trade.

The base account of the trade that received the counter asset.

The asset offerred from the base party of the trade.

The amount of the base asset exchanged.

The counter account of the trade that received the base asset.

The asset offerred from the counter party of the trade.

The amount of the counter asset exchanged.

The original offer price.

Which party is the seller

Account of the selling party

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

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

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

impl Send for Trade

impl Sync for Trade