Struct google_api_proto::google::ads::googleads::v16::resources::CustomerConversionGoal
source · pub struct CustomerConversionGoal {
pub resource_name: String,
pub category: i32,
pub origin: i32,
pub biddable: bool,
}
Expand description
Biddability control for conversion actions with a matching category and origin.
Fields§
§resource_name: String
Immutable. The resource name of the customer conversion goal. Customer conversion goal resource names have the form:
customers/{customer_id}/customerConversionGoals/{category}~{origin}
category: i32
The conversion category of this customer conversion goal. Only conversion actions that have this category will be included in this goal.
origin: i32
The conversion origin of this customer conversion goal. Only conversion actions that have this conversion origin will be included in this goal.
biddable: bool
The biddability of the customer conversion goal.
Implementations§
source§impl CustomerConversionGoal
impl CustomerConversionGoal
sourcepub fn category(&self) -> ConversionActionCategory
pub fn category(&self) -> ConversionActionCategory
Returns the enum value of category
, or the default if the field is set to an invalid enum value.
sourcepub fn set_category(&mut self, value: ConversionActionCategory)
pub fn set_category(&mut self, value: ConversionActionCategory)
Sets category
to the provided enum value.
sourcepub fn origin(&self) -> ConversionOrigin
pub fn origin(&self) -> ConversionOrigin
Returns the enum value of origin
, or the default if the field is set to an invalid enum value.
sourcepub fn set_origin(&mut self, value: ConversionOrigin)
pub fn set_origin(&mut self, value: ConversionOrigin)
Sets origin
to the provided enum value.
Trait Implementations§
source§impl Clone for CustomerConversionGoal
impl Clone for CustomerConversionGoal
source§fn clone(&self) -> CustomerConversionGoal
fn clone(&self) -> CustomerConversionGoal
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CustomerConversionGoal
impl Debug for CustomerConversionGoal
source§impl Default for CustomerConversionGoal
impl Default for CustomerConversionGoal
source§impl Message for CustomerConversionGoal
impl Message for CustomerConversionGoal
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 CustomerConversionGoal
impl PartialEq for CustomerConversionGoal
source§fn eq(&self, other: &CustomerConversionGoal) -> bool
fn eq(&self, other: &CustomerConversionGoal) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CustomerConversionGoal
Auto Trait Implementations§
impl Freeze for CustomerConversionGoal
impl RefUnwindSafe for CustomerConversionGoal
impl Send for CustomerConversionGoal
impl Sync for CustomerConversionGoal
impl Unpin for CustomerConversionGoal
impl UnwindSafe for CustomerConversionGoal
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