pub struct ExperimentCreateParams {
pub name: String,
pub variant_a_routing_rule_id: String,
pub variant_b_routing_rule_id: String,
pub description: Option<String>,
pub split_percentage: Option<i32>,
}Expand description
Arguments for crate::resources::Experiments::create.
Fields§
§name: StringDisplay name.
variant_a_routing_rule_id: StringRouting rule id for variant A.
variant_b_routing_rule_id: StringRouting rule id for variant B.
description: Option<String>Optional description.
split_percentage: Option<i32>Optional percentage of traffic on variant B.
Trait Implementations§
Source§impl Clone for ExperimentCreateParams
impl Clone for ExperimentCreateParams
Source§fn clone(&self) -> ExperimentCreateParams
fn clone(&self) -> ExperimentCreateParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ExperimentCreateParams
impl Debug for ExperimentCreateParams
Auto Trait Implementations§
impl Freeze for ExperimentCreateParams
impl RefUnwindSafe for ExperimentCreateParams
impl Send for ExperimentCreateParams
impl Sync for ExperimentCreateParams
impl Unpin for ExperimentCreateParams
impl UnsafeUnpin for ExperimentCreateParams
impl UnwindSafe for ExperimentCreateParams
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