Struct google_api_proto::google::ads::googleads::v15::common::OfflineUserAddressInfo
source · pub struct OfflineUserAddressInfo {
pub hashed_first_name: Option<String>,
pub hashed_last_name: Option<String>,
pub city: Option<String>,
pub state: Option<String>,
pub country_code: Option<String>,
pub postal_code: Option<String>,
pub hashed_street_address: Option<String>,
}
Expand description
Address identifier of offline data.
Fields§
§hashed_first_name: Option<String>
First name of the user, which is hashed as SHA-256 after normalized (Lowercase all characters; Remove any extra spaces before, after, and in between).
hashed_last_name: Option<String>
Last name of the user, which is hashed as SHA-256 after normalized (lower case only and no punctuation).
city: Option<String>
City of the address. Only accepted for Store Sales and ConversionAdjustmentUploadService.
state: Option<String>
State code of the address. Only accepted for Store Sales and ConversionAdjustmentUploadService.
country_code: Option<String>
2-letter country code in ISO-3166-1 alpha-2 of the user’s address.
postal_code: Option<String>
Postal code of the user’s address.
hashed_street_address: Option<String>
The street address of the user hashed using SHA-256 hash function after normalization (lower case only). Only accepted for ConversionAdjustmentUploadService.
Implementations§
source§impl OfflineUserAddressInfo
impl OfflineUserAddressInfo
sourcepub fn hashed_first_name(&self) -> &str
pub fn hashed_first_name(&self) -> &str
Returns the value of hashed_first_name
, or the default value if hashed_first_name
is unset.
sourcepub fn hashed_last_name(&self) -> &str
pub fn hashed_last_name(&self) -> &str
Returns the value of hashed_last_name
, or the default value if hashed_last_name
is unset.
sourcepub fn state(&self) -> &str
pub fn state(&self) -> &str
Returns the value of state
, or the default value if state
is unset.
sourcepub fn country_code(&self) -> &str
pub fn country_code(&self) -> &str
Returns the value of country_code
, or the default value if country_code
is unset.
sourcepub fn postal_code(&self) -> &str
pub fn postal_code(&self) -> &str
Returns the value of postal_code
, or the default value if postal_code
is unset.
sourcepub fn hashed_street_address(&self) -> &str
pub fn hashed_street_address(&self) -> &str
Returns the value of hashed_street_address
, or the default value if hashed_street_address
is unset.
Trait Implementations§
source§impl Clone for OfflineUserAddressInfo
impl Clone for OfflineUserAddressInfo
source§fn clone(&self) -> OfflineUserAddressInfo
fn clone(&self) -> OfflineUserAddressInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for OfflineUserAddressInfo
impl Debug for OfflineUserAddressInfo
source§impl Default for OfflineUserAddressInfo
impl Default for OfflineUserAddressInfo
source§impl Message for OfflineUserAddressInfo
impl Message for OfflineUserAddressInfo
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
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(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
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(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for OfflineUserAddressInfo
impl PartialEq for OfflineUserAddressInfo
source§fn eq(&self, other: &OfflineUserAddressInfo) -> bool
fn eq(&self, other: &OfflineUserAddressInfo) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OfflineUserAddressInfo
Auto Trait Implementations§
impl Freeze for OfflineUserAddressInfo
impl RefUnwindSafe for OfflineUserAddressInfo
impl Send for OfflineUserAddressInfo
impl Sync for OfflineUserAddressInfo
impl Unpin for OfflineUserAddressInfo
impl UnwindSafe for OfflineUserAddressInfo
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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