pub struct Sealed<'a> {
pub commit: &'a str,
pub previous_commit: &'a str,
pub message: Option<&'a str>,
}Expand description
What the op moved, threaded to every post reactor and any post-phase
rollback so the §7 post payload can carry it: the new commit, the tip it
landed on, and the §5 commit message (the plugin seam parses its trailers
into metadata — the engine stays §5-agnostic). None on pre (nothing is
sealed yet — the id is not assigned, §7).
On a DIFFLESS op (§13) there is no seal and no §5 message, so message is
None: the facts degrade to the checkout tip before/after the op
(previous_commit/commit), and post carries them metadata-less.
Fields§
§commit: &'a str§previous_commit: &'a str§message: Option<&'a str>Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Sealed<'a>
impl<'a> RefUnwindSafe for Sealed<'a>
impl<'a> Send for Sealed<'a>
impl<'a> Sync for Sealed<'a>
impl<'a> Unpin for Sealed<'a>
impl<'a> UnsafeUnpin for Sealed<'a>
impl<'a> UnwindSafe for Sealed<'a>
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