Skip to main content

BybitInstrumentOptionResponse

Type Alias BybitInstrumentOptionResponse 

Source
pub type BybitInstrumentOptionResponse = BybitCursorListResponse<BybitInstrumentOption>;
Expand description

Response alias for instrument info requests that return option contracts.

§References

Aliased Type§

pub struct BybitInstrumentOptionResponse {
    pub ret_code: i64,
    pub ret_msg: String,
    pub result: BybitCursorList<BybitInstrumentOption>,
    pub ret_ext_info: Option<Value>,
    pub time: Option<i64>,
}

Fields§

§ret_code: i64

Return code (0 = success).

§ret_msg: String

Textual message accompanying the response.

§result: BybitCursorList<BybitInstrumentOption>

Actual payload returned by the endpoint.

§ret_ext_info: Option<Value>

Additional metadata returned by some endpoints.

§time: Option<i64>

Server time in milliseconds when the response was produced.