pub struct ShallowRequest {
pub client_shallow: Vec<ObjectId>,
pub depth: Option<usize>,
pub relative: bool,
pub since: Option<i64>,
pub not: Vec<String>,
}Expand description
The shallow-related arguments of one fetch request.
Fields§
§client_shallow: Vec<ObjectId>Where the client’s history is already cut, from shallow <oid>.
depth: Option<usize>deepen <n>.
relative: booldeepen-relative: count depth from the client’s existing boundary
rather than from the wants.
since: Option<i64>deepen-since <unix seconds>.
not: Vec<String>deepen-not <ref>.
Implementations§
Trait Implementations§
Source§impl Clone for ShallowRequest
impl Clone for ShallowRequest
Source§impl Debug for ShallowRequest
impl Debug for ShallowRequest
Source§impl Default for ShallowRequest
impl Default for ShallowRequest
impl Eq for ShallowRequest
Source§impl PartialEq for ShallowRequest
impl PartialEq for ShallowRequest
impl StructuralPartialEq for ShallowRequest
Auto Trait Implementations§
impl Freeze for ShallowRequest
impl RefUnwindSafe for ShallowRequest
impl Send for ShallowRequest
impl Sync for ShallowRequest
impl Unpin for ShallowRequest
impl UnsafeUnpin for ShallowRequest
impl UnwindSafe for ShallowRequest
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