pub struct Replayed {
pub oid: String,
pub tree: String,
pub onto: String,
pub prepared_oid: String,
pub from_base: Option<String>,
pub dropped_headers: Vec<String>,
pub subsumed_paths: Vec<String>,
pub kept_landed_paths: Vec<String>,
}Expand description
What:
The replay result of a clean merge:
the replayed commit and the data for commit-replayed and replay-headers-dropped.
Why:
The integrator runs revalidation on tree, then emits the events and lands oid.
In TS you’d write (pseudocode):
type Replayed = { oid; tree; onto; preparedOid; fromBase; droppedHeaders; subsumedPaths; keptLandedPaths };Fields§
§oid: StringReplayed commit in the shadow store.
tree: StringMerged tree the replayed commit holds.
onto: StringThe target the replay parent is.
prepared_oid: StringThe prepared commit that was replayed.
from_base: Option<String>The preparation base, or None for an unborn branch.
dropped_headers: Vec<String>Custom headers a signed rebuild dropped.
subsumed_paths: Vec<String>Paths whose prepared entries replay as they are.
kept_landed_paths: Vec<String>Paths whose landed entries stay.
Trait Implementations§
impl Eq for Replayed
impl StructuralPartialEq for Replayed
Auto Trait Implementations§
impl Freeze for Replayed
impl RefUnwindSafe for Replayed
impl Send for Replayed
impl Sync for Replayed
impl Unpin for Replayed
impl UnsafeUnpin for Replayed
impl UnwindSafe for Replayed
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more