pub struct CrmBasedUserListInfo {
pub app_id: String,
pub upload_key_type: i32,
pub data_source_type: i32,
}
Expand description
UserList of CRM users provided by the advertiser.
Fields§
§app_id: String
A string that uniquely identifies a mobile application from which the data was collected. For iOS, the ID string is the 9 digit string that appears at the end of an App Store URL (for example, “476943146” for “Flood-It! 2” whose App Store link is http://itunes.apple.com/us/app/flood-it!-2/id476943146). For Android, the ID string is the application’s package name (for example, “com.labpixies.colordrips” for “Color Drips” given Google Play link https://play.google.com/store/apps/details?id=com.labpixies.colordrips). Required when creating CrmBasedUserList for uploading mobile advertising IDs.
upload_key_type: i32
Matching key type of the list. Mixed data types are not allowed on the same list. This field is required for an ADD operation.
data_source_type: i32
Data source of the list. Default value is FIRST_PARTY. Only customers on the allow-list can create third-party sourced CRM lists.
Implementations§
Source§impl CrmBasedUserListInfo
impl CrmBasedUserListInfo
Sourcepub fn upload_key_type(&self) -> CustomerMatchUploadKeyType
pub fn upload_key_type(&self) -> CustomerMatchUploadKeyType
Returns the enum value of upload_key_type
, or the default if the field is set to an invalid enum value.
Sourcepub fn set_upload_key_type(&mut self, value: CustomerMatchUploadKeyType)
pub fn set_upload_key_type(&mut self, value: CustomerMatchUploadKeyType)
Sets upload_key_type
to the provided enum value.
Sourcepub fn data_source_type(&self) -> UserListCrmDataSourceType
pub fn data_source_type(&self) -> UserListCrmDataSourceType
Returns the enum value of data_source_type
, or the default if the field is set to an invalid enum value.
Sourcepub fn set_data_source_type(&mut self, value: UserListCrmDataSourceType)
pub fn set_data_source_type(&mut self, value: UserListCrmDataSourceType)
Sets data_source_type
to the provided enum value.
Trait Implementations§
Source§impl Clone for CrmBasedUserListInfo
impl Clone for CrmBasedUserListInfo
Source§fn clone(&self) -> CrmBasedUserListInfo
fn clone(&self) -> CrmBasedUserListInfo
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for CrmBasedUserListInfo
impl Debug for CrmBasedUserListInfo
Source§impl Default for CrmBasedUserListInfo
impl Default for CrmBasedUserListInfo
Source§impl Message for CrmBasedUserListInfo
impl Message for CrmBasedUserListInfo
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 CrmBasedUserListInfo
impl PartialEq for CrmBasedUserListInfo
impl StructuralPartialEq for CrmBasedUserListInfo
Auto Trait Implementations§
impl Freeze for CrmBasedUserListInfo
impl RefUnwindSafe for CrmBasedUserListInfo
impl Send for CrmBasedUserListInfo
impl Sync for CrmBasedUserListInfo
impl Unpin for CrmBasedUserListInfo
impl UnwindSafe for CrmBasedUserListInfo
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