pub struct UserIdentifier {
pub user_identifier_source: i32,
pub identifier: Option<Identifier>,
}
Expand description
User identifying information.
Fields§
§user_identifier_source: i32
Source of the user identifier when the upload is from Store Sales, ConversionUploadService, or ConversionAdjustmentUploadService.
identifier: Option<Identifier>
Exactly one must be specified. For OfflineUserDataJobService, Customer Match accepts hashed_email, hashed_phone_number, mobile_id, third_party_user_id, and address_info; Store Sales accepts hashed_email, hashed_phone_number, third_party_user_id, and address_info. ConversionUploadService accepts hashed_email and hashed_phone_number. ConversionAdjustmentUploadService accepts hashed_email, hashed_phone_number, and address_info.
Implementations§
Source§impl UserIdentifier
impl UserIdentifier
Sourcepub fn user_identifier_source(&self) -> UserIdentifierSource
pub fn user_identifier_source(&self) -> UserIdentifierSource
Returns the enum value of user_identifier_source
, or the default if the field is set to an invalid enum value.
Sourcepub fn set_user_identifier_source(&mut self, value: UserIdentifierSource)
pub fn set_user_identifier_source(&mut self, value: UserIdentifierSource)
Sets user_identifier_source
to the provided enum value.
Trait Implementations§
Source§impl Clone for UserIdentifier
impl Clone for UserIdentifier
Source§fn clone(&self) -> UserIdentifier
fn clone(&self) -> UserIdentifier
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for UserIdentifier
impl Debug for UserIdentifier
Source§impl Default for UserIdentifier
impl Default for UserIdentifier
Source§impl Message for UserIdentifier
impl Message for UserIdentifier
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
Source§fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
Source§fn decode<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
.Source§impl PartialEq for UserIdentifier
impl PartialEq for UserIdentifier
impl StructuralPartialEq for UserIdentifier
Auto Trait Implementations§
impl Freeze for UserIdentifier
impl RefUnwindSafe for UserIdentifier
impl Send for UserIdentifier
impl Sync for UserIdentifier
impl Unpin for UserIdentifier
impl UnwindSafe for UserIdentifier
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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request