Struct NewAccountVirtualRequest

Source
pub struct NewAccountVirtualRequest {
Show 26 fields pub affiliate_token: Option<String>, pub client_password: Option<String>, pub date_first_contact: Option<String>, pub email: Option<String>, pub email_consent: Option<String>, pub gclid_url: Option<String>, pub loginid: Option<String>, pub new_account_virtual: Value, pub passthrough: Option<Value>, pub req_id: Option<i64>, pub residence: Option<String>, pub signup_device: Option<SignupDevice>, pub type_: Option<Type>, pub utm_ad_id: Option<Value>, pub utm_adgroup_id: Option<Value>, pub utm_adrollclk_id: Option<Value>, pub utm_campaign: Option<Value>, pub utm_campaign_id: Option<Value>, pub utm_content: Option<Value>, pub utm_fbcl_id: Option<Value>, pub utm_gl_client_id: Option<Value>, pub utm_medium: Option<Value>, pub utm_msclk_id: Option<Value>, pub utm_source: Option<Value>, pub utm_term: Option<Value>, pub verification_code: Option<String>,
}
Expand description

Create a new virtual-money account.

Fields§

§affiliate_token: Option<String>

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

§client_password: Option<String>

Password (Accepts any printable ASCII character. Must be within 8-25 characters, and include numbers, lowercase and uppercase letters. Must not be the same as the user’s email address).\n

§date_first_contact: Option<String>

[Optional] Date of first contact, format: yyyy-mm-dd in GMT timezone.\n

§email: Option<String>

[Optional] Email address for signup.\n

§email_consent: Option<String>

[Optional] Boolean value: 1 or 0, indicating whether the client has given consent for marketing emails.\n

§gclid_url: Option<String>

[Optional] Google Click Identifier to track source.\n

§loginid: Option<String>

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

§new_account_virtual: Value

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

§passthrough: Option<Value>

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

§req_id: Option<i64>

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

§residence: Option<String>

2-letter country code (obtained from residence_list call).\n

§signup_device: Option<SignupDevice>

[Optional] Show whether user has used mobile or desktop.\n

§type_: Option<Type>

Account type\n

§utm_ad_id: Option<Value>

[Optional] Identifier of particular ad. Value must match Regex pattern to be recorded\n

§utm_adgroup_id: Option<Value>

[Optional] Identifier of ad group in the campaign. Value must match Regex pattern to be recorded\n

§utm_adrollclk_id: Option<Value>

[Optional] Unique identifier of click on AdRoll ads platform. Value must match Regex pattern to be recorded\n

§utm_campaign: Option<Value>

[Optional] Identifies a specific product promotion or strategic campaign such as a spring sale or other promotions. Value must match Regex pattern to be recorded\n

§utm_campaign_id: Option<Value>

[Optional] Identifier of paid ad campaign. Value must match Regex pattern to be recorded\n

§utm_content: Option<Value>

[Optional] Used to differentiate similar content, or links within the same ad. Value must match Regex pattern to be recorded\n

§utm_fbcl_id: Option<Value>

[Optional] Unique identifier of click on Facebook ads platform. Value must match Regex pattern to be recorded\n

§utm_gl_client_id: Option<Value>

[Optional] Unique visitor identifier on Google Ads platform. Value must match Regex pattern to be recorded\n

§utm_medium: Option<Value>

[Optional] Identifies the medium the link was used upon such as: email, CPC, or other methods of sharing. Value must match Regex pattern to be recorded\n

§utm_msclk_id: Option<Value>

[Optional] Unique click identifier on Microsoft Bing ads platform. Value must match Regex pattern to be recorded\n

§utm_source: Option<Value>

[Optional] Identifies the source of traffic such as: search engine, newsletter, or other referral. Value must match Regex pattern to be recorded\n

§utm_term: Option<Value>

[Optional] Used to send information related to the campaign term like paid search keywords. Value must match Regex pattern to be recorded\n

§verification_code: Option<String>

Email verification code (received from a verify_email call, which must be done first).\n

Trait Implementations§

Source§

impl Clone for NewAccountVirtualRequest

Source§

fn clone(&self) -> NewAccountVirtualRequest

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 NewAccountVirtualRequest

Source§

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

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

impl<'de> Deserialize<'de> for NewAccountVirtualRequest

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 NewAccountVirtualRequest

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>,