Struct mailchimp_api::types::ABTestOptions
source · pub struct ABTestOptions {
pub combinations: Vec<Combinations>,
pub contents: Vec<String>,
pub from_names: Vec<String>,
pub reply_to_addresses: Vec<String>,
pub send_times: Vec<Option<DateTime<Utc>>>,
pub subject_lines: Vec<String>,
pub test_size: i64,
pub wait_time: i64,
pub winner_criteria: Option<WinnerCriteria>,
pub winning_campaign_id: String,
pub winning_combination_id: String,
}Expand description
The settings specific to A/B test campaigns.
Fields
combinations: Vec<Combinations>The settings specific to A/B test campaigns.
contents: Vec<String>The settings specific to A/B test campaigns.
from_names: Vec<String>The settings specific to A/B test campaigns.
reply_to_addresses: Vec<String>The settings specific to A/B test campaigns.
send_times: Vec<Option<DateTime<Utc>>>The settings specific to A/B test campaigns.
subject_lines: Vec<String>The settings specific to A/B test campaigns.
test_size: i64The settings specific to A/B test campaigns.
wait_time: i64The settings specific to A/B test campaigns.
winner_criteria: Option<WinnerCriteria>The settings specific to A/B test campaigns.
winning_campaign_id: StringThe settings specific to A/B test campaigns.
winning_combination_id: StringThe settings specific to A/B test campaigns.
Trait Implementations
sourceimpl Clone for ABTestOptions
impl Clone for ABTestOptions
sourcefn clone(&self) -> ABTestOptions
fn clone(&self) -> ABTestOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for ABTestOptions
impl Debug for ABTestOptions
sourceimpl<'de> Deserialize<'de> for ABTestOptions
impl<'de> Deserialize<'de> for ABTestOptions
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl JsonSchema for ABTestOptions
impl JsonSchema for ABTestOptions
sourcefn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
sourcefn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
sourcefn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moresourceimpl PartialEq<ABTestOptions> for ABTestOptions
impl PartialEq<ABTestOptions> for ABTestOptions
sourcefn eq(&self, other: &ABTestOptions) -> bool
fn eq(&self, other: &ABTestOptions) -> bool
sourceimpl Serialize for ABTestOptions
impl Serialize for ABTestOptions
impl StructuralPartialEq for ABTestOptions
Auto Trait Implementations
impl RefUnwindSafe for ABTestOptions
impl Send for ABTestOptions
impl Sync for ABTestOptions
impl Unpin for ABTestOptions
impl UnwindSafe for ABTestOptions
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more