pub struct EvolutionSnapshot {
pub snapshot_id: SnapshotId,
pub name: String,
pub config_hash: ContentHash,
pub config_source: String,
pub phase: EvolutionPhase,
pub created_at: Timestamp,
pub metrics: Option<EvolutionMetrics>,
pub metadata: Option<Value>,
}Expand description
Evolution snapshot for pack config benchmarking. Captures a frozen state of configuration for A/B testing.
Fields§
§snapshot_id: SnapshotIdSnapshot ID
name: StringHuman-readable snapshot name
config_hash: ContentHashSHA-256 hash of the pack config source
config_source: StringThe actual pack configuration text
phase: EvolutionPhaseCurrent phase of this snapshot
created_at: Timestamp§metrics: Option<EvolutionMetrics>Metrics populated after benchmark completes
metadata: Option<Value>Trait Implementations§
Source§impl Clone for EvolutionSnapshot
impl Clone for EvolutionSnapshot
Source§fn clone(&self) -> EvolutionSnapshot
fn clone(&self) -> EvolutionSnapshot
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 ComposeSchema for EvolutionSnapshot
impl ComposeSchema for EvolutionSnapshot
Source§impl Debug for EvolutionSnapshot
impl Debug for EvolutionSnapshot
Source§impl<'de> Deserialize<'de> for EvolutionSnapshot
impl<'de> Deserialize<'de> for EvolutionSnapshot
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 EvolutionSnapshot
impl PartialEq for EvolutionSnapshot
Source§impl Serialize for EvolutionSnapshot
impl Serialize for EvolutionSnapshot
Source§impl ToSchema for EvolutionSnapshot
impl ToSchema for EvolutionSnapshot
impl StructuralPartialEq for EvolutionSnapshot
Auto Trait Implementations§
impl Freeze for EvolutionSnapshot
impl RefUnwindSafe for EvolutionSnapshot
impl Send for EvolutionSnapshot
impl Sync for EvolutionSnapshot
impl Unpin for EvolutionSnapshot
impl UnwindSafe for EvolutionSnapshot
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