pub struct ProtocolV2FetchRequest {Show 17 fields
pub wants: Vec<ObjectId>,
pub want_refs: Vec<String>,
pub haves: Vec<ObjectId>,
pub shallow: Vec<ObjectId>,
pub deepen: Option<u32>,
pub deepen_since: Option<u64>,
pub deepen_not: Vec<String>,
pub deepen_relative: bool,
pub filter: Option<String>,
pub packfile_uris: Option<String>,
pub thin_pack: bool,
pub no_progress: bool,
pub include_tag: bool,
pub ofs_delta: bool,
pub sideband_all: bool,
pub wait_for_done: bool,
pub done: bool,
}Fields§
§wants: Vec<ObjectId>§want_refs: Vec<String>§haves: Vec<ObjectId>§shallow: Vec<ObjectId>§deepen: Option<u32>§deepen_since: Option<u64>§deepen_not: Vec<String>§deepen_relative: bool§filter: Option<String>§packfile_uris: Option<String>§thin_pack: bool§no_progress: bool§include_tag: bool§ofs_delta: bool§sideband_all: bool§wait_for_done: bool§done: boolImplementations§
Source§impl ProtocolV2FetchRequest
impl ProtocolV2FetchRequest
pub fn from_command_request( format: ObjectFormat, request: &ProtocolV2CommandRequest, ) -> Result<Self>
pub fn to_command_request(&self) -> Result<ProtocolV2CommandRequest>
Trait Implementations§
Source§impl Clone for ProtocolV2FetchRequest
impl Clone for ProtocolV2FetchRequest
Source§fn clone(&self) -> ProtocolV2FetchRequest
fn clone(&self) -> ProtocolV2FetchRequest
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 ProtocolV2FetchRequest
impl Debug for ProtocolV2FetchRequest
Source§impl Default for ProtocolV2FetchRequest
impl Default for ProtocolV2FetchRequest
Source§fn default() -> ProtocolV2FetchRequest
fn default() -> ProtocolV2FetchRequest
Returns the “default value” for a type. Read more
impl Eq for ProtocolV2FetchRequest
Source§impl PartialEq for ProtocolV2FetchRequest
impl PartialEq for ProtocolV2FetchRequest
Source§fn eq(&self, other: &ProtocolV2FetchRequest) -> bool
fn eq(&self, other: &ProtocolV2FetchRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProtocolV2FetchRequest
Auto Trait Implementations§
impl Freeze for ProtocolV2FetchRequest
impl RefUnwindSafe for ProtocolV2FetchRequest
impl Send for ProtocolV2FetchRequest
impl Sync for ProtocolV2FetchRequest
impl Unpin for ProtocolV2FetchRequest
impl UnsafeUnpin for ProtocolV2FetchRequest
impl UnwindSafe for ProtocolV2FetchRequest
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