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

pub struct CreatePassiveOffer { /* fields omitted */ }

“Create Passive Offer” operation creates an offer that won’t consume a counter offer that exactly matches this offer. This is useful for offers just used as 1:1 exchanges for path payments. Use Manage Offer to manage this offer after using this operation to create it.

Methods

impl CreatePassiveOffer
[src]

Creates a new CreatePassiveOffer

Offer ID.

The identifier of the asset to sell.

The identifier of the asset to buy.

Amount of asset to be sold.

n: price numerator, d: price denominator.

Price to buy a buying_asset.

Trait Implementations

impl Debug for CreatePassiveOffer
[src]

Formats the value using the given formatter. Read more

impl Clone for CreatePassiveOffer
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations