#[non_exhaustive]pub enum CloneFilter {
BlobNone,
TreeZero,
}Expand description
The partial-clone object filter for GitApi::clone_repo (git clone --filter=<value>).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
BlobNone
Omit blobs until they are needed (--filter=blob:none).
TreeZero
Omit trees until they are needed (--filter=tree:0).
Trait Implementations§
Source§impl Clone for CloneFilter
impl Clone for CloneFilter
Source§fn clone(&self) -> CloneFilter
fn clone(&self) -> CloneFilter
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CloneFilter
Source§impl Debug for CloneFilter
impl Debug for CloneFilter
impl Eq for CloneFilter
Source§impl PartialEq for CloneFilter
impl PartialEq for CloneFilter
impl StructuralPartialEq for CloneFilter
Auto Trait Implementations§
impl Freeze for CloneFilter
impl RefUnwindSafe for CloneFilter
impl Send for CloneFilter
impl Sync for CloneFilter
impl Unpin for CloneFilter
impl UnsafeUnpin for CloneFilter
impl UnwindSafe for CloneFilter
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