Skip to main content

BybitServerTimeResponse

Type Alias BybitServerTimeResponse 

Source
pub type BybitServerTimeResponse = BybitResponse<BybitServerTime>;
Expand description

Type alias for the server time response envelope.

§References

Aliased Type§

pub struct BybitServerTimeResponse {
    pub ret_code: i64,
    pub ret_msg: String,
    pub result: BybitServerTime,
    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: BybitServerTime

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.