pub struct CreateFMartBotParams {Show 17 fields
pub symbol: String,
pub martingale_mode: String,
pub leverage: String,
pub price_float_percent: String,
pub add_position_percent: String,
pub add_position_num: i32,
pub init_margin: String,
pub round_tp_percent: String,
pub auto_cycle_toggle: Option<String>,
pub sl_percent: Option<String>,
pub entry_price: Option<String>,
pub source: Option<String>,
pub followed_bot_id: Option<i64>,
pub block_source: Option<String>,
pub create_type: Option<String>,
pub init_bonus: Option<String>,
pub channel: Option<String>,
}Expand description
Request body for POST /v5/fmartingalebot/create.
Fields§
§symbol: String§martingale_mode: String§leverage: String§price_float_percent: String§add_position_percent: String§add_position_num: i32§init_margin: String§round_tp_percent: String§auto_cycle_toggle: Option<String>§sl_percent: Option<String>§entry_price: Option<String>§source: Option<String>§followed_bot_id: Option<i64>§block_source: Option<String>§create_type: Option<String>§init_bonus: Option<String>§channel: Option<String>Trait Implementations§
Source§impl Clone for CreateFMartBotParams
impl Clone for CreateFMartBotParams
Source§fn clone(&self) -> CreateFMartBotParams
fn clone(&self) -> CreateFMartBotParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CreateFMartBotParams
impl Debug for CreateFMartBotParams
Source§impl<'de> Deserialize<'de> for CreateFMartBotParams
impl<'de> Deserialize<'de> for CreateFMartBotParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CreateFMartBotParams
impl RefUnwindSafe for CreateFMartBotParams
impl Send for CreateFMartBotParams
impl Sync for CreateFMartBotParams
impl Unpin for CreateFMartBotParams
impl UnsafeUnpin for CreateFMartBotParams
impl UnwindSafe for CreateFMartBotParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more