pub struct FetchOptions {
pub shallow_depth: Option<u32>,
pub ofs_delta: bool,
pub no_progress: bool,
}Fields§
§shallow_depth: Option<u32>None fetches full history; Some(1) fetches each wanted tip’s snapshot. The host must check the advertisement’s shallow capability first.
ofs_delta: bool§no_progress: boolTrait Implementations§
Source§impl Clone for FetchOptions
impl Clone for FetchOptions
impl Copy for FetchOptions
Source§impl Debug for FetchOptions
impl Debug for FetchOptions
Auto Trait Implementations§
impl Freeze for FetchOptions
impl RefUnwindSafe for FetchOptions
impl Send for FetchOptions
impl Sync for FetchOptions
impl Unpin for FetchOptions
impl UnsafeUnpin for FetchOptions
impl UnwindSafe for FetchOptions
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