pub struct GitCommitTreeOpts {
pub depth: Option<isize>,
pub discard_git_dir: Option<bool>,
pub include_tags: Option<bool>,
}Fields§
§depth: Option<isize>The depth of the tree to fetch.
discard_git_dir: Option<bool>Set to true to discard .git directory.
Set to true to populate tag refs in the local checkout .git.
Trait Implementations§
Source§impl Debug for GitCommitTreeOpts
impl Debug for GitCommitTreeOpts
Source§impl PartialEq for GitCommitTreeOpts
impl PartialEq for GitCommitTreeOpts
impl StructuralPartialEq for GitCommitTreeOpts
Auto Trait Implementations§
impl Freeze for GitCommitTreeOpts
impl RefUnwindSafe for GitCommitTreeOpts
impl Send for GitCommitTreeOpts
impl Sync for GitCommitTreeOpts
impl Unpin for GitCommitTreeOpts
impl UnsafeUnpin for GitCommitTreeOpts
impl UnwindSafe for GitCommitTreeOpts
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> 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