pub struct Mt5PasswordCheckRequest {
pub login: String,
pub loginid: Option<String>,
pub mt5_password_check: i64,
pub passthrough: Option<Value>,
pub password: String,
pub password_type: Option<PasswordType>,
pub req_id: Option<i64>,
}
Expand description
This call validates the main password for the MT5 user
Fields§
§login: String
MT5 user login\n
loginid: Option<String>
[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.\n
mt5_password_check: i64
Must be 1
\n
passthrough: Option<Value>
[Optional] Used to pass data through the websocket, which may be retrieved via the echo_req
output field.\n
password: String
The password of the account.\n
password_type: Option<PasswordType>
[Optional] Type of the password to check.\n
req_id: Option<i64>
[Optional] Used to map request to response.\n
Trait Implementations§
Source§impl Clone for Mt5PasswordCheckRequest
impl Clone for Mt5PasswordCheckRequest
Source§fn clone(&self) -> Mt5PasswordCheckRequest
fn clone(&self) -> Mt5PasswordCheckRequest
Returns a duplicate of the value. Read more
1.0.0 · 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 Mt5PasswordCheckRequest
impl Debug for Mt5PasswordCheckRequest
Source§impl<'de> Deserialize<'de> for Mt5PasswordCheckRequest
impl<'de> Deserialize<'de> for Mt5PasswordCheckRequest
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 Mt5PasswordCheckRequest
impl RefUnwindSafe for Mt5PasswordCheckRequest
impl Send for Mt5PasswordCheckRequest
impl Sync for Mt5PasswordCheckRequest
impl Unpin for Mt5PasswordCheckRequest
impl UnwindSafe for Mt5PasswordCheckRequest
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