Enum git2::FetchPrune
source · pub enum FetchPrune {
Unspecified,
On,
Off,
}
Expand description
Configuration for how pruning is done on a fetch
Variants§
Trait Implementations§
source§impl Clone for FetchPrune
impl Clone for FetchPrune
source§fn clone(&self) -> FetchPrune
fn clone(&self) -> FetchPrune
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 FetchPrune
impl Debug for FetchPrune
source§impl PartialEq for FetchPrune
impl PartialEq for FetchPrune
source§fn eq(&self, other: &FetchPrune) -> bool
fn eq(&self, other: &FetchPrune) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for FetchPrune
impl Eq for FetchPrune
impl StructuralPartialEq for FetchPrune
Auto Trait Implementations§
impl Freeze for FetchPrune
impl RefUnwindSafe for FetchPrune
impl Send for FetchPrune
impl Sync for FetchPrune
impl Unpin for FetchPrune
impl UnwindSafe for FetchPrune
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