pub struct LandingRequest<'request> {
pub capture: &'request InvocationCapture,
pub mode: TransactionMode,
pub payload: &'request LandingPayload,
pub committed_paths: &'request [String],
pub added_paths: &'request [AddedPath],
pub selected_worktree_paths: &'request [AddedPath],
pub index_lock_timeout_ms: u64,
pub attempt: i64,
}Expand description
What: The facts of one attempt beside the workspace. Why: They stay fixed across attempts of one commit, except the payload and the attempt number.
In TS you’d write (pseudocode):
{ capture, mode, payload, committedPaths, addedPaths, selectedWorktreePaths, indexLockTimeoutMs, attempt }Fields§
§capture: &'request InvocationCaptureInvocation capture naming the target and the real index.
mode: TransactionModeCommit selection mode.
payload: &'request LandingPayloadThe commit or normalization to land.
committed_paths: &'request [String]Paths an explicit-path commit carries.
added_paths: &'request [AddedPath]Policy-added path records.
selected_worktree_paths: &'request [AddedPath]Selected newline correction records.
index_lock_timeout_ms: u64Backoff budget for a foreign index.lock.
attempt: i64Landing attempt number, from 1.
Trait Implementations§
Source§impl<'request> Clone for LandingRequest<'request>
impl<'request> Clone for LandingRequest<'request>
impl<'request> Copy for LandingRequest<'request>
Auto Trait Implementations§
impl<'request> Freeze for LandingRequest<'request>
impl<'request> RefUnwindSafe for LandingRequest<'request>
impl<'request> Send for LandingRequest<'request>
impl<'request> Sync for LandingRequest<'request>
impl<'request> Unpin for LandingRequest<'request>
impl<'request> UnsafeUnpin for LandingRequest<'request>
impl<'request> UnwindSafe for LandingRequest<'request>
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<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