pub struct CreateTokenizer {Show 17 fields
pub alphabet: Option<String>,
pub decoding_template: Option<String>,
pub delete_protection: Option<String>,
pub description: Option<String>,
pub encoding_template: Option<String>,
pub encryption_key_name: Option<String>,
pub item_custom_fields: Option<HashMap<String, String>>,
pub json: Option<bool>,
pub metadata: Option<String>,
pub name: String,
pub pattern: Option<String>,
pub tag: Option<Vec<String>>,
pub template_type: String,
pub token: Option<String>,
pub tokenizer_type: String,
pub tweak_type: Option<String>,
pub uid_token: Option<String>,
}Expand description
CreateTokenizer : createTokenizer is a command that creates a tokenizer item
Fields§
§alphabet: Option<String>Alphabet to use in regexp vaultless tokenization
decoding_template: Option<String>The Decoding output template to use in regexp vaultless tokenization
delete_protection: Option<String>Protection from accidental deletion of this object [true/false]
description: Option<String>Description of the object
encoding_template: Option<String>The Encoding output template to use in regexp vaultless tokenization
encryption_key_name: Option<String>AES key name to use in vaultless tokenization
item_custom_fields: Option<HashMap<String, String>>Additional custom fields to associate with the item
json: Option<bool>Set output format to JSON
metadata: Option<String>Deprecated - use description
name: StringTokenizer name
pattern: Option<String>Pattern to use in regexp vaultless tokenization
tag: Option<Vec<String>>List of the tags attached to this key
template_type: StringWhich template type this tokenizer is used for [SSN,CreditCard,USPhoneNumber,Email,Regexp]
token: Option<String>Authentication token (see /auth and /configure)
tokenizer_type: StringTokenizer type
tweak_type: Option<String>The tweak type to use in vaultless tokenization [Supplied, Generated, Internal, Masking]
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
Implementations§
Trait Implementations§
Source§impl Clone for CreateTokenizer
impl Clone for CreateTokenizer
Source§fn clone(&self) -> CreateTokenizer
fn clone(&self) -> CreateTokenizer
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CreateTokenizer
impl Debug for CreateTokenizer
Source§impl Default for CreateTokenizer
impl Default for CreateTokenizer
Source§fn default() -> CreateTokenizer
fn default() -> CreateTokenizer
Source§impl<'de> Deserialize<'de> for CreateTokenizer
impl<'de> Deserialize<'de> for CreateTokenizer
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>,
Source§impl PartialEq for CreateTokenizer
impl PartialEq for CreateTokenizer
Source§fn eq(&self, other: &CreateTokenizer) -> bool
fn eq(&self, other: &CreateTokenizer) -> bool
self and other values to be equal, and is used by ==.