Enum google_api_proto::google::ads::googleads::v16::common::cpc_bid_simulation_point::CpcSimulationKeyValue
source · pub enum CpcSimulationKeyValue {
CpcBidMicros(i64),
CpcBidScalingModifier(f64),
}
Expand description
When SimulationModificationMethod = UNIFORM or DEFAULT, cpc_bid_micros is set. When SimulationModificationMethod = SCALING, cpc_bid_scaling_modifier is set.
Variants§
CpcBidMicros(i64)
The simulated CPC bid upon which projected metrics are based.
CpcBidScalingModifier(f64)
The simulated scaling modifier upon which projected metrics are based. All CPC bids relevant to the simulated entity are scaled by this modifier.
Implementations§
source§impl CpcSimulationKeyValue
impl CpcSimulationKeyValue
sourcepub fn merge(
field: &mut Option<CpcSimulationKeyValue>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<CpcSimulationKeyValue>, tag: u32, wire_type: WireType, buf: &mut impl Buf, ctx: DecodeContext, ) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into self.
sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
source§impl Clone for CpcSimulationKeyValue
impl Clone for CpcSimulationKeyValue
source§fn clone(&self) -> CpcSimulationKeyValue
fn clone(&self) -> CpcSimulationKeyValue
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CpcSimulationKeyValue
impl Debug for CpcSimulationKeyValue
source§impl PartialEq for CpcSimulationKeyValue
impl PartialEq for CpcSimulationKeyValue
source§fn eq(&self, other: &CpcSimulationKeyValue) -> bool
fn eq(&self, other: &CpcSimulationKeyValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CpcSimulationKeyValue
impl StructuralPartialEq for CpcSimulationKeyValue
Auto Trait Implementations§
impl Freeze for CpcSimulationKeyValue
impl RefUnwindSafe for CpcSimulationKeyValue
impl Send for CpcSimulationKeyValue
impl Sync for CpcSimulationKeyValue
impl Unpin for CpcSimulationKeyValue
impl UnwindSafe for CpcSimulationKeyValue
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
Mutably borrows from an owned value. Read more
§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>
Wrap the input message
T
in a tonic::Request