Skip to main content

BybitSetLeverageResponse

Type Alias BybitSetLeverageResponse 

Source
pub type BybitSetLeverageResponse = BybitResponse<BybitSetLeverageResult>;
Expand description

Response alias for set leverage requests.

§References

Aliased Type§

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

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.