Struct shuttle_core::CreatePassiveOfferOperation [] [src]

pub struct CreatePassiveOfferOperation {
    pub source: Option<PublicKey>,
    pub selling: Asset,
    pub buying: Asset,
    pub amount: Amount,
    pub price: Price,
}

Create a passive offer.

Fields

The source account for the operation.

What you're selling.

What you're buying.

The total amount you're selling. If 0, deletes the offer.

The exchange rate ratio.

Trait Implementations

impl Debug for CreatePassiveOfferOperation
[src]

[src]

Formats the value using the given formatter.

impl Clone for CreatePassiveOfferOperation
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for CreatePassiveOfferOperation
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for CreatePassiveOfferOperation
[src]