Struct stellar_client::resources::Offer[][src]

pub struct Offer { /* fields omitted */ }

An offer being made for particular assets at a particular exchange rate.

Methods

impl Offer
[src]

The id of the offer

A paging_token suitable for use as a cursor parameter.

The account id fo the account making this offer.

The asset being sold

The asset being bought

Returns the numerator and denominator representing the buy and sell prices of the currencies on offer.

The amount of the selling asset willing to be sold

How many units of the buying asset it takes to get 10 million of selling asset. This is the smallest divisible unit of the asset.

Trait Implementations

impl Debug for Offer
[src]

Formats the value using the given formatter. Read more

impl Clone for Offer
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Offer

impl Sync for Offer