pub struct TradingPlatformPasswordResetRequest {
pub loginid: Option<String>,
pub new_password: String,
pub passthrough: Option<Value>,
pub platform: Platform,
pub req_id: Option<i64>,
pub trading_platform_password_reset: i64,
pub verification_code: String,
}Expand description
Reset the password of a Trading Platform Account
Fields§
§loginid: Option<String>[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.\n
new_password: StringNew password of the account. For validation (Accepts any printable ASCII character. DerivX: Must be within 8-25 characters, include numbers, lowercase, uppercase letters. Must not be the same as the user’s email address). Accepts any printable ASCII character. MT5: Must be within 8-16 characters, include numbers, lowercase, uppercase letters and special characters. Must not be the same as the user’s email address.\n
passthrough: Option<Value>[Optional] Used to pass data through the websocket, which may be retrieved via the echo_req output field.\n
platform: PlatformName of trading platform.\n
req_id: Option<i64>[Optional] Used to map request to response.\n
trading_platform_password_reset: i64Must be 1\n
verification_code: StringEmail verification code (received from a verify_email call, which must be done first)\n
Trait Implementations§
Source§impl Clone for TradingPlatformPasswordResetRequest
impl Clone for TradingPlatformPasswordResetRequest
Source§fn clone(&self) -> TradingPlatformPasswordResetRequest
fn clone(&self) -> TradingPlatformPasswordResetRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more