Skip to main content

bybit/models/
internal_transfer_request.rs

1use crate::prelude::*;
2
3/// Request for creating internal transfer
4#[derive(Debug, Serialize, Deserialize, Clone)]
5pub struct InternalTransferRequest<'a> {
6    /// UUID. Please manually generate a UUID
7    #[serde(rename = "transferId")]
8    pub transfer_id: &'a str,
9    /// Coin, uppercase only
10    pub coin: &'a str,
11    /// Amount
12    pub amount: &'a str,
13    /// From account type
14    #[serde(rename = "fromAccountType")]
15    pub from_account_type: &'a str,
16    /// To account type
17    #[serde(rename = "toAccountType")]
18    pub to_account_type: &'a str,
19}