pub struct Experiment {
pub experiment_id: Option<String>,
pub tenant_id: Option<String>,
pub agent_id: Option<String>,
pub name: Option<String>,
pub dataset_id: Option<String>,
pub variants: Option<Vec<ExperimentVariant>>,
pub status: Option<ExperimentStatus>,
pub comparison: Option<Map<String, Value>>,
pub created_at: Option<String>,
}Expand description
Experiment model.
Fields§
§experiment_id: Option<String>§tenant_id: Option<String>§agent_id: Option<String>§name: Option<String>§dataset_id: Option<String>§variants: Option<Vec<ExperimentVariant>>§status: Option<ExperimentStatus>§comparison: Option<Map<String, Value>>§created_at: Option<String>Trait Implementations§
Source§impl Clone for Experiment
impl Clone for Experiment
Source§fn clone(&self) -> Experiment
fn clone(&self) -> Experiment
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 Experiment
impl Debug for Experiment
Source§impl Default for Experiment
impl Default for Experiment
Source§fn default() -> Experiment
fn default() -> Experiment
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Experiment
impl<'de> Deserialize<'de> for Experiment
Source§fn 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
Source§impl PartialEq for Experiment
impl PartialEq for Experiment
Source§impl Serialize for Experiment
impl Serialize for Experiment
impl StructuralPartialEq for Experiment
Auto Trait Implementations§
impl Freeze for Experiment
impl RefUnwindSafe for Experiment
impl Send for Experiment
impl Sync for Experiment
impl Unpin for Experiment
impl UnsafeUnpin for Experiment
impl UnwindSafe for Experiment
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