pub struct OfflineUserDataJob {
pub resource_name: String,
pub id: i64,
pub external_id: i64,
pub type: i32,
pub status: i32,
pub failure_reason: i32,
pub operation_metadata: Option<OfflineUserDataJobMetadata>,
pub metadata: Option<Metadata>,
}
Expand description
A job containing offline user data of store visitors, or user list members that will be processed asynchronously. The uploaded data isn’t readable and the processing results of the job can only be read using GoogleAdsService.Search/SearchStream.
Fields§
§resource_name: String
Immutable. The resource name of the offline user data job. Offline user data job resource names have the form:
customers/{customer_id}/offlineUserDataJobs/{offline_user_data_job_id}
id: i64
Output only. ID of this offline user data job.
external_id: i64
Immutable. User specified job ID.
type: i32
Immutable. Type of the job.
status: i32
Output only. Status of the job.
failure_reason: i32
Output only. Reason for the processing failure, if status is FAILED.
operation_metadata: Option<OfflineUserDataJobMetadata>
Output only. Metadata of offline user data job depicting match rate range.
metadata: Option<Metadata>
Metadata of the job.
Implementations§
Source§impl OfflineUserDataJob
impl OfflineUserDataJob
Sourcepub fn type(&self) -> OfflineUserDataJobType
pub fn type(&self) -> OfflineUserDataJobType
Returns the enum value of type
, or the default if the field is set to an invalid enum value.
Sourcepub fn set_type(&mut self, value: OfflineUserDataJobType)
pub fn set_type(&mut self, value: OfflineUserDataJobType)
Sets type
to the provided enum value.
Sourcepub fn status(&self) -> OfflineUserDataJobStatus
pub fn status(&self) -> OfflineUserDataJobStatus
Returns the enum value of status
, or the default if the field is set to an invalid enum value.
Sourcepub fn set_status(&mut self, value: OfflineUserDataJobStatus)
pub fn set_status(&mut self, value: OfflineUserDataJobStatus)
Sets status
to the provided enum value.
Sourcepub fn failure_reason(&self) -> OfflineUserDataJobFailureReason
pub fn failure_reason(&self) -> OfflineUserDataJobFailureReason
Returns the enum value of failure_reason
, or the default if the field is set to an invalid enum value.
Sourcepub fn set_failure_reason(&mut self, value: OfflineUserDataJobFailureReason)
pub fn set_failure_reason(&mut self, value: OfflineUserDataJobFailureReason)
Sets failure_reason
to the provided enum value.
Trait Implementations§
Source§impl Clone for OfflineUserDataJob
impl Clone for OfflineUserDataJob
Source§fn clone(&self) -> OfflineUserDataJob
fn clone(&self) -> OfflineUserDataJob
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for OfflineUserDataJob
impl Debug for OfflineUserDataJob
Source§impl Default for OfflineUserDataJob
impl Default for OfflineUserDataJob
Source§impl Message for OfflineUserDataJob
impl Message for OfflineUserDataJob
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 OfflineUserDataJob
impl PartialEq for OfflineUserDataJob
impl StructuralPartialEq for OfflineUserDataJob
Auto Trait Implementations§
impl Freeze for OfflineUserDataJob
impl RefUnwindSafe for OfflineUserDataJob
impl Send for OfflineUserDataJob
impl Sync for OfflineUserDataJob
impl Unpin for OfflineUserDataJob
impl UnwindSafe for OfflineUserDataJob
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