pub struct EnvelopeDiffArtifactV1 {
pub schema_version: String,
pub envelope_diff: EnvelopeDiff,
pub baseline_fragment_hash: String,
pub candidate_fragment_hash: String,
pub envelope_diff_hash: String,
}Expand description
Emitted envelope artifact carrying the diff and stable hashes.
Fields§
§schema_version: StringSchema version for this artifact payload.
envelope_diff: EnvelopeDiffEnvelope differential payload.
baseline_fragment_hash: StringStable hash of the baseline canonical replay fragment.
candidate_fragment_hash: StringStable hash of the candidate canonical replay fragment.
envelope_diff_hash: StringStable hash of the envelope differential payload.
Implementations§
Source§impl EnvelopeDiffArtifactV1
impl EnvelopeDiffArtifactV1
Sourcepub fn from_replay_fragments(
baseline_engine: impl Into<String>,
candidate_engine: impl Into<String>,
baseline: &CanonicalReplayFragmentV1,
candidate: &CanonicalReplayFragmentV1,
baseline_max_wave_width: usize,
candidate_max_wave_width: usize,
declared_upper_bound: usize,
effect_determinism_tier: EffectDeterminismTier,
) -> Self
pub fn from_replay_fragments( baseline_engine: impl Into<String>, candidate_engine: impl Into<String>, baseline: &CanonicalReplayFragmentV1, candidate: &CanonicalReplayFragmentV1, baseline_max_wave_width: usize, candidate_max_wave_width: usize, declared_upper_bound: usize, effect_determinism_tier: EffectDeterminismTier, ) -> Self
Build an artifact from replay fragments and computed envelope dimensions.
Trait Implementations§
Source§impl Clone for EnvelopeDiffArtifactV1
impl Clone for EnvelopeDiffArtifactV1
Source§fn clone(&self) -> EnvelopeDiffArtifactV1
fn clone(&self) -> EnvelopeDiffArtifactV1
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 EnvelopeDiffArtifactV1
impl Debug for EnvelopeDiffArtifactV1
Source§impl<'de> Deserialize<'de> for EnvelopeDiffArtifactV1
impl<'de> Deserialize<'de> for EnvelopeDiffArtifactV1
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 EnvelopeDiffArtifactV1
impl PartialEq for EnvelopeDiffArtifactV1
Source§impl Serialize for EnvelopeDiffArtifactV1
impl Serialize for EnvelopeDiffArtifactV1
impl Eq for EnvelopeDiffArtifactV1
impl StructuralPartialEq for EnvelopeDiffArtifactV1
Auto Trait Implementations§
impl Freeze for EnvelopeDiffArtifactV1
impl RefUnwindSafe for EnvelopeDiffArtifactV1
impl Send for EnvelopeDiffArtifactV1
impl Sync for EnvelopeDiffArtifactV1
impl Unpin for EnvelopeDiffArtifactV1
impl UnsafeUnpin for EnvelopeDiffArtifactV1
impl UnwindSafe for EnvelopeDiffArtifactV1
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> CheckedAs for T
impl<T> CheckedAs for T
Source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Casts the value.
Source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
Source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Casts the value.
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
Dst: LosslessTryFrom<Src>,
impl<Src, Dst> LosslessTryInto<Dst> for Srcwhere
Dst: LosslessTryFrom<Src>,
Source§fn lossless_try_into(self) -> Option<Dst>
fn lossless_try_into(self) -> Option<Dst>
Performs the conversion.
Source§impl<Src, Dst> LossyInto<Dst> for Srcwhere
Dst: LossyFrom<Src>,
impl<Src, Dst> LossyInto<Dst> for Srcwhere
Dst: LossyFrom<Src>,
Source§fn lossy_into(self) -> Dst
fn lossy_into(self) -> Dst
Performs the conversion.
Source§impl<T> OverflowingAs for T
impl<T> OverflowingAs for T
Source§fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
fn overflowing_as<Dst>(self) -> (Dst, bool)where
T: OverflowingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
impl<Src, Dst> OverflowingCastFrom<Src> for Dstwhere
Src: OverflowingCast<Dst>,
Source§fn overflowing_cast_from(src: Src) -> (Dst, bool)
fn overflowing_cast_from(src: Src) -> (Dst, bool)
Casts the value.
Source§impl<T> SaturatingAs for T
impl<T> SaturatingAs for T
Source§fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
fn saturating_as<Dst>(self) -> Dstwhere
T: SaturatingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
impl<Src, Dst> SaturatingCastFrom<Src> for Dstwhere
Src: SaturatingCast<Dst>,
Source§fn saturating_cast_from(src: Src) -> Dst
fn saturating_cast_from(src: Src) -> Dst
Casts the value.
Source§impl<T> StrictAs for T
impl<T> StrictAs for T
Source§fn strict_as<Dst>(self) -> Dstwhere
T: StrictCast<Dst>,
fn strict_as<Dst>(self) -> Dstwhere
T: StrictCast<Dst>,
Casts the value.
Source§impl<Src, Dst> StrictCastFrom<Src> for Dstwhere
Src: StrictCast<Dst>,
impl<Src, Dst> StrictCastFrom<Src> for Dstwhere
Src: StrictCast<Dst>,
Source§fn strict_cast_from(src: Src) -> Dst
fn strict_cast_from(src: Src) -> Dst
Casts the value.
Source§impl<T> UnwrappedAs for T
impl<T> UnwrappedAs for T
Source§fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
fn unwrapped_as<Dst>(self) -> Dstwhere
T: UnwrappedCast<Dst>,
Casts the value.
Source§impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
impl<Src, Dst> UnwrappedCastFrom<Src> for Dstwhere
Src: UnwrappedCast<Dst>,
Source§fn unwrapped_cast_from(src: Src) -> Dst
fn unwrapped_cast_from(src: Src) -> Dst
Casts the value.
Source§impl<T> WrappingAs for T
impl<T> WrappingAs for T
Source§fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
fn wrapping_as<Dst>(self) -> Dstwhere
T: WrappingCast<Dst>,
Casts the value.
Source§impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
impl<Src, Dst> WrappingCastFrom<Src> for Dstwhere
Src: WrappingCast<Dst>,
Source§fn wrapping_cast_from(src: Src) -> Dst
fn wrapping_cast_from(src: Src) -> Dst
Casts the value.