Struct NewAccountMaltainvestRequest

Source
pub struct NewAccountMaltainvestRequest {
Show 53 fields pub accept_risk: Option<AcceptRisk>, pub account_opening_reason: Option<Value>, pub account_turnover: Option<String>, pub address_city: String, pub address_line_1: String, pub address_line_2: Option<Value>, pub address_postcode: Option<String>, pub address_state: Option<String>, pub affiliate_token: Option<String>, pub calling_country_code: Option<Value>, pub cfd_experience: Option<CfdExperience>, pub cfd_frequency: Option<CfdFrequency>, pub cfd_trading_definition: Option<CfdTradingDefinition>, pub citizen: Option<String>, pub client_type: Option<ClientType>, pub currency: Option<String>, pub date_of_birth: String, pub education_level: Option<String>, pub employment_industry: Option<String>, pub employment_status: String, pub estimated_worth: Option<String>, pub fatca_declaration: Option<FatcaDeclaration>, pub financial_information_version: Option<String>, pub first_name: String, pub income_source: Option<String>, pub investment_intention: Option<String>, pub last_name: String, pub leverage_impact_trading: Option<LeverageImpactTrading>, pub leverage_trading_high_risk_stop_loss: Option<LeverageTradingHighRiskStopLoss>, pub loginid: Option<String>, pub net_income: Option<String>, pub new_account_maltainvest: i64, pub non_pep_declaration: Option<i64>, pub occupation: Option<String>, pub passthrough: Option<Value>, pub phone: Option<Value>, pub place_of_birth: Option<String>, pub req_id: Option<i64>, pub required_initial_margin: Option<RequiredInitialMargin>, pub residence: String, pub resident_self_declaration: Option<i64>, pub risk_tolerance: Option<RiskTolerance>, pub salutation: String, pub secret_answer: Option<String>, pub secret_question: Option<String>, pub source_of_experience: Option<SourceOfExperience>, pub source_of_wealth: Option<String>, pub tax_identification_number: Option<String>, pub tax_residence: String, pub tin_skipped: Option<TinSkipped>, pub tnc_acceptance: Option<TncAcceptance>, pub trading_experience_financial_instruments: Option<TradingExperienceFinancialInstruments>, pub trading_frequency_financial_instruments: Option<TradingFrequencyFinancialInstruments>,
}
Expand description

This call opens a new real-money account with the maltainvest Landing Company. This call can be made from a virtual-money account or real-money account at Deriv (Europe) Limited. If it is the latter, client information fields in this call will be ignored and data from your existing real-money account will be used.

Fields§

§accept_risk: Option<AcceptRisk>

Show whether client has accepted risk disclaimer.\n

§account_opening_reason: Option<Value>

Field ‘account_opening_reason’ mapped to Value due to complexity/potential issues.\n

§account_turnover: Option<String>

[Optional] The anticipated account turnover.\n

§address_city: String

Within 100 characters\n

§address_line_1: String

Within 70 characters, with no leading whitespaces and may contain letters/numbers and/or any of following characters ’.,:;()@#/-\n

§address_line_2: Option<Value>

Field ‘address_line_2’ mapped to Value due to complexity/potential issues.\n

§address_postcode: Option<String>

[Optional] Within 20 characters and may not contain ‘+’.\n

§address_state: Option<String>

[Optional] Possible value receive from states_list call.\n

§affiliate_token: Option<String>

[Optional] Affiliate token, within 32 characters.\n

§calling_country_code: Option<Value>

[Optional] The phone’s calling country code. Don’t include the + sign. Up to 4 digits.\n

§cfd_experience: Option<CfdExperience>

How much experience do you have in CFD trading?\n

§cfd_frequency: Option<CfdFrequency>

How many CFD trades have you placed in the past 12 months?\n

§cfd_trading_definition: Option<CfdTradingDefinition>

In your understanding, CFD trading allows you to:\n

§citizen: Option<String>

[Optional] Country of legal citizenship, 2-letter country code. Possible value receive from residence_list call.\n

§client_type: Option<ClientType>

[Optional] Indicates whether this is for a client requesting an account with professional status.\n

§currency: Option<String>

[Optional] To set currency of the account. List of supported currencies can be acquired with payout_currencies call.\n

§date_of_birth: String

Date of birth format: yyyy-mm-dd.\n

§education_level: Option<String>

[Optional] Level of Education\n

§employment_industry: Option<String>

[Optional] Industry of Employment.\n

§employment_status: String

Employment Status.\n

§estimated_worth: Option<String>

[Optional] Estimated Net Worth.\n

§fatca_declaration: Option<FatcaDeclaration>

[Optional] Indicates client’s self-declaration of FATCA.\n

§financial_information_version: Option<String>

[Optional] Version of the financial information\n

§first_name: String

Within 1-50 characters, use only letters, spaces, hyphens, full-stops or apostrophes.\n

§income_source: Option<String>

[Optional] Income Source.\n

§investment_intention: Option<String>

[Optional] Investment intention.\n

§last_name: String

Within 1-50 characters, use only letters, spaces, hyphens, full-stops or apostrophes.\n

§leverage_impact_trading: Option<LeverageImpactTrading>

How does leverage affect CFD trading?\n

§leverage_trading_high_risk_stop_loss: Option<LeverageTradingHighRiskStopLoss>

Leverage trading is high-risk, so it’s a good idea to use risk management features such as stop loss. Stop loss allows you to\n

§loginid: Option<String>

[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.\n

§net_income: Option<String>

[Optional] Net Annual Income.\n

§new_account_maltainvest: i64

Must be 1\n

§non_pep_declaration: Option<i64>

[Optional] Indicates client’s self-declaration of not being a PEP/RCA.\n

§occupation: Option<String>

[Optional] Occupation.\n

§passthrough: Option<Value>

[Optional] Used to pass data through the websocket, which may be retrieved via the echo_req output field.\n

§phone: Option<Value>

[Optional] The phone’s national format, don’t include the + sign nor the calling country code. Up to 15 digits are allowed.\n

§place_of_birth: Option<String>

[Optional] Place of birth, 2-letter country code.\n

§req_id: Option<i64>

[Optional] Used to map request to response.\n

§required_initial_margin: Option<RequiredInitialMargin>

When would you be required to pay an initial margin?\n

§residence: String

2-letter country code, possible value receive from residence_list call.\n

§resident_self_declaration: Option<i64>

[Optional] Indicates client’s self declaration for opening account under own initiative, must be 1\n

§risk_tolerance: Option<RiskTolerance>

Do you understand that you could potentially lose 100% of the money you use to trade?\n

§salutation: String

Accept any value in enum list.\n

§secret_answer: Option<String>

[Optional] Answer to secret question, within 4-50 characters.\n

§secret_question: Option<String>

[Optional] Accept any value in enum list.\n

§source_of_experience: Option<SourceOfExperience>

How much knowledge and experience do you have in relation to online trading?\n

§source_of_wealth: Option<String>

[Optional] Source of wealth.\n

§tax_identification_number: Option<String>

Tax identification number. Only applicable for real money account. Required for maltainvest landing company.\n

§tax_residence: String

Residence for tax purpose. Comma separated iso country code if multiple jurisdictions. Only applicable for real money account. Required for maltainvest landing company.\n

§tin_skipped: Option<TinSkipped>

[Optional] Whether the client has skipped the TIN form. Only applicable for real money account.\n

§tnc_acceptance: Option<TncAcceptance>

The tnc acceptance status of the user.\n

§trading_experience_financial_instruments: Option<TradingExperienceFinancialInstruments>

How much experience do you have with other financial instruments?\n

§trading_frequency_financial_instruments: Option<TradingFrequencyFinancialInstruments>

How many trades have you placed with other financial instruments in the past 12 months?\n

Trait Implementations§

Source§

impl Clone for NewAccountMaltainvestRequest

Source§

fn clone(&self) -> NewAccountMaltainvestRequest

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for NewAccountMaltainvestRequest

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for NewAccountMaltainvestRequest

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for NewAccountMaltainvestRequest

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,