pub struct CheckoutId(/* private fields */);Expand description
One checkout of a family: a main checkout, a worktree or a clone. The value is derived from the checkout’s root path and Git directory by the caller.
Implementations§
Source§impl CheckoutId
impl CheckoutId
Trait Implementations§
Source§impl Clone for CheckoutId
impl Clone for CheckoutId
impl Copy for CheckoutId
Source§impl Debug for CheckoutId
impl Debug for CheckoutId
Source§impl Display for CheckoutId
impl Display for CheckoutId
impl Eq for CheckoutId
Source§impl Hash for CheckoutId
impl Hash for CheckoutId
Source§impl HeapBytes for CheckoutId
impl HeapBytes for CheckoutId
Source§fn heap_bytes(&self, _seen: &mut Seen) -> usize
fn heap_bytes(&self, _seen: &mut Seen) -> usize
The bytes this value owns on the heap; an allocation
seen has
already counted adds nothing.Source§impl Ord for CheckoutId
impl Ord for CheckoutId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for CheckoutId
impl PartialEq for CheckoutId
Source§impl PartialOrd for CheckoutId
impl PartialOrd for CheckoutId
impl StructuralPartialEq for CheckoutId
Auto Trait Implementations§
impl Forget for CheckoutId
impl Freeze for CheckoutId
impl Move for CheckoutId
impl RefUnwindSafe for CheckoutId
impl Send for CheckoutId
impl Sync for CheckoutId
impl Unpin for CheckoutId
impl UnsafeUnpin for CheckoutId
impl UnwindSafe for CheckoutId
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