pub struct ProtocolV2FetchFeatures {
pub shallow: bool,
pub wait_for_done: bool,
pub filter: bool,
pub ref_in_want: bool,
pub sideband_all: bool,
pub packfile_uris: bool,
pub unknown: Vec<String>,
}Fields§
§shallow: bool§wait_for_done: bool§filter: bool§ref_in_want: bool§sideband_all: bool§packfile_uris: bool§unknown: Vec<String>Trait Implementations§
Source§impl Clone for ProtocolV2FetchFeatures
impl Clone for ProtocolV2FetchFeatures
Source§fn clone(&self) -> ProtocolV2FetchFeatures
fn clone(&self) -> ProtocolV2FetchFeatures
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 moreSource§impl Debug for ProtocolV2FetchFeatures
impl Debug for ProtocolV2FetchFeatures
Source§impl Default for ProtocolV2FetchFeatures
impl Default for ProtocolV2FetchFeatures
Source§fn default() -> ProtocolV2FetchFeatures
fn default() -> ProtocolV2FetchFeatures
Returns the “default value” for a type. Read more
impl Eq for ProtocolV2FetchFeatures
Source§impl PartialEq for ProtocolV2FetchFeatures
impl PartialEq for ProtocolV2FetchFeatures
Source§fn eq(&self, other: &ProtocolV2FetchFeatures) -> bool
fn eq(&self, other: &ProtocolV2FetchFeatures) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProtocolV2FetchFeatures
Auto Trait Implementations§
impl Freeze for ProtocolV2FetchFeatures
impl RefUnwindSafe for ProtocolV2FetchFeatures
impl Send for ProtocolV2FetchFeatures
impl Sync for ProtocolV2FetchFeatures
impl Unpin for ProtocolV2FetchFeatures
impl UnsafeUnpin for ProtocolV2FetchFeatures
impl UnwindSafe for ProtocolV2FetchFeatures
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