pub struct LockWorktreeOptions {
pub reason: Option<String>,
}Expand description
Options for locking during add_linked_worktree or
RepositoryWorktrees::lock.
Fields§
§reason: Option<String>Optional reason stored in the locked file (shown by git worktree list).
Trait Implementations§
Source§impl Clone for LockWorktreeOptions
impl Clone for LockWorktreeOptions
Source§impl Debug for LockWorktreeOptions
impl Debug for LockWorktreeOptions
Auto Trait Implementations§
impl Freeze for LockWorktreeOptions
impl RefUnwindSafe for LockWorktreeOptions
impl Send for LockWorktreeOptions
impl Sync for LockWorktreeOptions
impl Unpin for LockWorktreeOptions
impl UnsafeUnpin for LockWorktreeOptions
impl UnwindSafe for LockWorktreeOptions
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