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
source: Option<PublicKey>
The source account for the operation.
selling: Asset
What you're selling.
buying: Asset
What you're buying.
amount: Amount
The total amount you're selling. If 0, deletes the offer.
price: Price
The exchange rate ratio.
Trait Implementations
impl Debug for CreatePassiveOfferOperation[src]
impl Clone for CreatePassiveOfferOperation[src]
fn clone(&self) -> CreatePassiveOfferOperation[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl PartialEq for CreatePassiveOfferOperation[src]
fn eq(&self, __arg_0: &CreatePassiveOfferOperation) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &CreatePassiveOfferOperation) -> bool[src]
This method tests for !=.