pub struct ExperimentArm {
pub resource_name: String,
pub experiment: String,
pub name: String,
pub control: bool,
pub traffic_split: i64,
pub campaigns: Vec<String>,
pub in_design_campaigns: Vec<String>,
}
Expand description
A Google ads experiment for users to experiment changes on multiple campaigns, compare the performance, and apply the effective changes.
Fields§
§resource_name: String
Immutable. The resource name of the experiment arm. Experiment arm resource names have the form:
customers/{customer_id}/experimentArms/{TrialArm.trial_id}~{TrialArm.trial_arm_id}
experiment: String
Immutable. The experiment to which the ExperimentArm belongs.
name: String
Required. The name of the experiment arm. It must have a minimum length of 1 and maximum length of 1024. It must be unique under an experiment.
control: bool
Whether this arm is a control arm. A control arm is the arm against which the other arms are compared.
traffic_split: i64
Traffic split of the trial arm. The value should be between 1 and 100 and must total 100 between the two trial arms.
campaigns: Vec<String>
List of campaigns in the trial arm. The max length is one.
in_design_campaigns: Vec<String>
Output only. The in design campaigns in the treatment experiment arm.
Trait Implementations§
Source§impl Clone for ExperimentArm
impl Clone for ExperimentArm
Source§fn clone(&self) -> ExperimentArm
fn clone(&self) -> ExperimentArm
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ExperimentArm
impl Debug for ExperimentArm
Source§impl Default for ExperimentArm
impl Default for ExperimentArm
Source§impl Message for ExperimentArm
impl Message for ExperimentArm
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 ExperimentArm
impl PartialEq for ExperimentArm
impl StructuralPartialEq for ExperimentArm
Auto Trait Implementations§
impl Freeze for ExperimentArm
impl RefUnwindSafe for ExperimentArm
impl Send for ExperimentArm
impl Sync for ExperimentArm
impl Unpin for ExperimentArm
impl UnwindSafe for ExperimentArm
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