Struct aws_sdk_frauddetector::types::VariableEntry
source · #[non_exhaustive]pub struct VariableEntry {
pub name: Option<String>,
pub data_type: Option<String>,
pub data_source: Option<String>,
pub default_value: Option<String>,
pub description: Option<String>,
pub variable_type: Option<String>,
}
Expand description
A variable in the list of variables for the batch create variable request.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
The name of the variable.
data_type: Option<String>
The data type of the variable.
data_source: Option<String>
The data source of the variable.
default_value: Option<String>
The default value of the variable.
description: Option<String>
The description of the variable.
variable_type: Option<String>
The type of the variable. For more information see Variable types.
Valid Values: AUTH_CODE | AVS | BILLING_ADDRESS_L1 | BILLING_ADDRESS_L2 | BILLING_CITY | BILLING_COUNTRY | BILLING_NAME | BILLING_PHONE | BILLING_STATE | BILLING_ZIP | CARD_BIN | CATEGORICAL | CURRENCY_CODE | EMAIL_ADDRESS | FINGERPRINT | FRAUD_LABEL | FREE_FORM_TEXT | IP_ADDRESS | NUMERIC | ORDER_ID | PAYMENT_TYPE | PHONE_NUMBER | PRICE | PRODUCT_CATEGORY | SHIPPING_ADDRESS_L1 | SHIPPING_ADDRESS_L2 | SHIPPING_CITY | SHIPPING_COUNTRY | SHIPPING_NAME | SHIPPING_PHONE | SHIPPING_STATE | SHIPPING_ZIP | USERAGENT
Implementations§
source§impl VariableEntry
impl VariableEntry
sourcepub fn data_source(&self) -> Option<&str>
pub fn data_source(&self) -> Option<&str>
The data source of the variable.
sourcepub fn default_value(&self) -> Option<&str>
pub fn default_value(&self) -> Option<&str>
The default value of the variable.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the variable.
sourcepub fn variable_type(&self) -> Option<&str>
pub fn variable_type(&self) -> Option<&str>
The type of the variable. For more information see Variable types.
Valid Values: AUTH_CODE | AVS | BILLING_ADDRESS_L1 | BILLING_ADDRESS_L2 | BILLING_CITY | BILLING_COUNTRY | BILLING_NAME | BILLING_PHONE | BILLING_STATE | BILLING_ZIP | CARD_BIN | CATEGORICAL | CURRENCY_CODE | EMAIL_ADDRESS | FINGERPRINT | FRAUD_LABEL | FREE_FORM_TEXT | IP_ADDRESS | NUMERIC | ORDER_ID | PAYMENT_TYPE | PHONE_NUMBER | PRICE | PRODUCT_CATEGORY | SHIPPING_ADDRESS_L1 | SHIPPING_ADDRESS_L2 | SHIPPING_CITY | SHIPPING_COUNTRY | SHIPPING_NAME | SHIPPING_PHONE | SHIPPING_STATE | SHIPPING_ZIP | USERAGENT
source§impl VariableEntry
impl VariableEntry
sourcepub fn builder() -> VariableEntryBuilder
pub fn builder() -> VariableEntryBuilder
Creates a new builder-style object to manufacture VariableEntry
.
Trait Implementations§
source§impl Clone for VariableEntry
impl Clone for VariableEntry
source§fn clone(&self) -> VariableEntry
fn clone(&self) -> VariableEntry
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VariableEntry
impl Debug for VariableEntry
source§impl PartialEq for VariableEntry
impl PartialEq for VariableEntry
source§fn eq(&self, other: &VariableEntry) -> bool
fn eq(&self, other: &VariableEntry) -> bool
self
and other
values to be equal, and is used
by ==
.