pub struct CampaignConversionGoal {
pub resource_name: String,
pub campaign: String,
pub category: i32,
pub origin: i32,
pub biddable: bool,
}
Expand description
The biddability setting for the specified campaign only for all conversion actions with a matching category and origin.
Fields§
§resource_name: String
Immutable. The resource name of the campaign conversion goal. Campaign conversion goal resource names have the form:
customers/{customer_id}/campaignConversionGoals/{campaign_id}~{category}~{origin}
campaign: String
Immutable. The campaign with which this campaign conversion goal is associated.
category: i32
The conversion category of this campaign conversion goal.
origin: i32
The conversion origin of this campaign conversion goal.
biddable: bool
The biddability of the campaign conversion goal.
Implementations§
Source§impl CampaignConversionGoal
impl CampaignConversionGoal
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 CampaignConversionGoal
impl Clone for CampaignConversionGoal
Source§fn clone(&self) -> CampaignConversionGoal
fn clone(&self) -> CampaignConversionGoal
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for CampaignConversionGoal
impl Debug for CampaignConversionGoal
Source§impl Default for CampaignConversionGoal
impl Default for CampaignConversionGoal
Source§impl Message for CampaignConversionGoal
impl Message for CampaignConversionGoal
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 CampaignConversionGoal
impl PartialEq for CampaignConversionGoal
impl StructuralPartialEq for CampaignConversionGoal
Auto Trait Implementations§
impl Freeze for CampaignConversionGoal
impl RefUnwindSafe for CampaignConversionGoal
impl Send for CampaignConversionGoal
impl Sync for CampaignConversionGoal
impl Unpin for CampaignConversionGoal
impl UnwindSafe for CampaignConversionGoal
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