pub struct RestResponse<T> {
    pub http_status_code: u16,
    pub body: T,
}
Expand description

Public API, Private APIの結果として返す構造体。

Fields

http_status_code: u16

HTTPステータスコード。

body: T

GMOコインからのレスポンスのボディ部分。

Implementations

有効注文一覧が格納された配列を取得する。

取得対象ページ。

1ページ当たりの取得件数。

資産残高が格納された配列を取得する。

注文Idが格納された配列を取得する。

キャンセルに失敗した注文が格納された配列を取得する。

キャンセルに成功した注文の注文Idが格納された配列を取得する。

注文IDを取得する。

注文IDを取得する。

約定情報取得が格納された配列を取得する。

最新の約定一覧が格納された配列を取得する。

取得対象ページ。

1ページ当たりの取得件数。

時価評価総額を取得する。

取引余力を取得する。

拘束証拠金を取得する。

評価損益を取得する。

建玉一覧が格納された配列を取得する。

取得対象ページ。

1ページ当たりの取得件数。

注文IDを取得する。

注文情報取得が格納された配列を取得する。

建玉サマリーが格納された配列を取得する。

売り注文の情報を取得する。

買い注文の情報を取得する。

銘柄名を取得する。

取引所が開いているか?

取引所がプレオープン中か? プレオープンは定時メンテナンスの前後30分の間。

取引所がメンテナンス中か? 定時メンテナンスは日本時間で毎週水曜15:00 - 16:00。

取引所のステータスを返す。

ASKを取得する。

BIDを取得する。

高値を取得する。

終値を取得する。

安値を取得する。

銘柄名を取得する。

時刻を取得する。

取引量を取得する。

取引履歴の配列を取得する。

取得対象ページ。

1ページ当たりの取得件数。

Trait Implementations

Formats the value using the given formatter. 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