pub struct ContactInfo {
pub country_code: Option<String>,
pub hashed_emails: Option<Vec<String>>,
pub hashed_first_name: Option<String>,
pub hashed_last_name: Option<String>,
pub hashed_phone_numbers: Option<Vec<String>>,
pub zip_codes: Option<Vec<String>>,
}
Expand description
Contact information defining a Customer Match audience member.
This type is not used in any activity, and only used as part of another schema.
Fields§
§country_code: Option<String>
Country code of the member. Must also be set with the following fields: * hashed_first_name * hashed_last_name * zip_codes
hashed_emails: Option<Vec<String>>
A list of SHA256 hashed email of the member. Before hashing, remove all whitespace and make sure the string is all lowercase.
hashed_first_name: Option<String>
SHA256 hashed first name of the member. Before hashing, remove all whitespace and make sure the string is all lowercase. Must also be set with the following fields: * country_code * hashed_last_name * zip_codes
hashed_last_name: Option<String>
SHA256 hashed last name of the member. Before hashing, remove all whitespace and make sure the string is all lowercase. Must also be set with the following fields: * country_code * hashed_first_name * zip_codes
hashed_phone_numbers: Option<Vec<String>>
A list of SHA256 hashed phone numbers of the member. Before hashing, all phone numbers must be formatted using the E.164 format and include the country calling code.
zip_codes: Option<Vec<String>>
A list of zip codes of the member. Must also be set with the following fields: * country_code * hashed_first_name * hashed_last_name
Trait Implementations§
Source§impl Clone for ContactInfo
impl Clone for ContactInfo
Source§fn clone(&self) -> ContactInfo
fn clone(&self) -> ContactInfo
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ContactInfo
impl Debug for ContactInfo
Source§impl Default for ContactInfo
impl Default for ContactInfo
Source§fn default() -> ContactInfo
fn default() -> ContactInfo
Source§impl<'de> Deserialize<'de> for ContactInfo
impl<'de> Deserialize<'de> for ContactInfo
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 Serialize for ContactInfo
impl Serialize for ContactInfo
impl Part for ContactInfo
Auto Trait Implementations§
impl Freeze for ContactInfo
impl RefUnwindSafe for ContactInfo
impl Send for ContactInfo
impl Sync for ContactInfo
impl Unpin for ContactInfo
impl UnwindSafe for ContactInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more