pub struct PushCoordinationPaths {
pub lock_directory: PathBuf,
pub record_path: PathBuf,
}Expand description
What: Paths of one branch’s coordination files. Why: The lock and the record live beside each other under the common Git directory.
In TS you’d write (pseudocode):
type PushCoordinationPaths = { lockDirectory: string; recordPath: string };Fields§
§lock_directory: PathBufOwner-lock directory.
record_path: PathBuflast-pushed record file.
Trait Implementations§
Source§impl Clone for PushCoordinationPaths
impl Clone for PushCoordinationPaths
Source§impl Debug for PushCoordinationPaths
impl Debug for PushCoordinationPaths
impl Eq for PushCoordinationPaths
Source§impl PartialEq for PushCoordinationPaths
impl PartialEq for PushCoordinationPaths
impl StructuralPartialEq for PushCoordinationPaths
Auto Trait Implementations§
impl Freeze for PushCoordinationPaths
impl RefUnwindSafe for PushCoordinationPaths
impl Send for PushCoordinationPaths
impl Sync for PushCoordinationPaths
impl Unpin for PushCoordinationPaths
impl UnsafeUnpin for PushCoordinationPaths
impl UnwindSafe for PushCoordinationPaths
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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