Struct shuttle_core::ManageOfferOperation [] [src]

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

Create, update, or delete an 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.

Offer id. If 0, creates a new offer.

Trait Implementations

impl Debug for ManageOfferOperation
[src]

[src]

Formats the value using the given formatter.

impl Clone for ManageOfferOperation
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for ManageOfferOperation
[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 ManageOfferOperation
[src]