pub struct AncestorPath {
pub x: VertexName,
pub n: u64,
pub batch_size: u64,
}Expand description
The n-th first ancestor of x. x~n in hg revset syntax.
Usually, x is commonly known by the client and the server.
This can be seen as a kind of “location”.
Fields§
§x: VertexName§n: u64§batch_size: u64Trait Implementations§
Source§impl Clone for AncestorPath
impl Clone for AncestorPath
Source§fn clone(&self) -> AncestorPath
fn clone(&self) -> AncestorPath
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AncestorPath
impl Debug for AncestorPath
Auto Trait Implementations§
impl Freeze for AncestorPath
impl !RefUnwindSafe for AncestorPath
impl Send for AncestorPath
impl Sync for AncestorPath
impl Unpin for AncestorPath
impl !UnwindSafe for AncestorPath
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