Skip to main content

BybitInstrumentLinearResponse

Type Alias BybitInstrumentLinearResponse 

Source
pub type BybitInstrumentLinearResponse = BybitCursorListResponse<BybitInstrumentLinear>;
Expand description

Response alias for instrument info requests that return linear contracts.

§References

Aliased Type§

pub struct BybitInstrumentLinearResponse {
    pub ret_code: i64,
    pub ret_msg: String,
    pub result: BybitCursorList<BybitInstrumentLinear>,
    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<BybitInstrumentLinear>

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.