pub struct Execution {
    pub execution_id: String,
    pub order_id: String,
    pub symbol: String,
    pub side: String,
    pub settle_type: String,
    pub size: f64,
    pub price: i64,
    pub loss_gain: i64,
    pub fee: i64,
    pub timestamp: DateTime<Utc>,
}
Expand description

約定情報を格納する構造体。

Fields

execution_id: String

約定ID。

order_id: String

注文ID。

symbol: String

銘柄名。

side: String

売買区分。“BUY” or “SELL”。

settle_type: String

決済区分。“OPEN” or “CLOSE”。

size: f64

約定数量。

price: i64

約定レート。

loss_gain: i64

決済損益。

fee: i64

取引手数料。

timestamp: DateTime<Utc>

注文日時。

Trait Implementations

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more