pub struct ApiMergeSession {
pub inner: MergeSession,
pub src_branch: String,
pub dst_branch: String,
}Expand description
Server-side wrapper around MergeSession carrying the
branch names that started the merge. The lex-vcs session
itself only tracks OpId heads; commit needs the dst branch
name to advance the right head, and the src branch name is
kept for round-trip auditability (“which branch did we merge
from?”).
Fields§
§inner: MergeSession§src_branch: String§dst_branch: StringAuto Trait Implementations§
impl Freeze for ApiMergeSession
impl RefUnwindSafe for ApiMergeSession
impl Send for ApiMergeSession
impl Sync for ApiMergeSession
impl Unpin for ApiMergeSession
impl UnsafeUnpin for ApiMergeSession
impl UnwindSafe for ApiMergeSession
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