pub struct ExperimentRecord { /* private fields */ }Expand description
Experiment Record represents a tracked experiment.
This is the root entity in the experiment tracking schema. Each experiment can have multiple runs.
Implementations§
Source§impl ExperimentRecord
impl ExperimentRecord
Sourcepub fn builder(
experiment_id: impl Into<String>,
name: impl Into<String>,
) -> ExperimentRecordBuilder
pub fn builder( experiment_id: impl Into<String>, name: impl Into<String>, ) -> ExperimentRecordBuilder
Create a builder for constructing an experiment record with optional fields.
Sourcepub fn experiment_id(&self) -> &str
pub fn experiment_id(&self) -> &str
Get the experiment ID.
Sourcepub const fn created_at(&self) -> DateTime<Utc>
pub const fn created_at(&self) -> DateTime<Utc>
Get the creation timestamp.
Trait Implementations§
Source§impl Clone for ExperimentRecord
impl Clone for ExperimentRecord
Source§fn clone(&self) -> ExperimentRecord
fn clone(&self) -> ExperimentRecord
Returns a duplicate 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 ExperimentRecord
impl Debug for ExperimentRecord
Source§impl<'de> Deserialize<'de> for ExperimentRecord
impl<'de> Deserialize<'de> for ExperimentRecord
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 ExperimentRecord
impl PartialEq for ExperimentRecord
Source§impl Serialize for ExperimentRecord
impl Serialize for ExperimentRecord
impl Eq for ExperimentRecord
impl StructuralPartialEq for ExperimentRecord
Auto Trait Implementations§
impl Freeze for ExperimentRecord
impl RefUnwindSafe for ExperimentRecord
impl Send for ExperimentRecord
impl Sync for ExperimentRecord
impl Unpin for ExperimentRecord
impl UnsafeUnpin for ExperimentRecord
impl UnwindSafe for ExperimentRecord
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.