pub struct GitBlobRequest<'a> {
pub nonce: u16,
pub repo_id: u16,
pub flags: u8,
pub oid: GitOid,
pub path: &'a str,
pub offset: u64,
pub max_len: u32,
}Expand description
A decoded C2S_GIT_BLOB.
Fields§
§nonce: u16§repo_id: u16§flags: u8GIT_BLOB_WHOLE refuses rather than windowing.
oid: GitOid§path: &'a str§offset: u64First byte to return. Past the end is INVALID; exactly the end is
OK with no data.
max_len: u320 = the server default cap.
Trait Implementations§
Source§impl<'a> Clone for GitBlobRequest<'a>
impl<'a> Clone for GitBlobRequest<'a>
Source§fn clone(&self) -> GitBlobRequest<'a>
fn clone(&self) -> GitBlobRequest<'a>
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<'a> Debug for GitBlobRequest<'a>
impl<'a> Debug for GitBlobRequest<'a>
impl<'a> Eq for GitBlobRequest<'a>
Source§impl<'a> PartialEq for GitBlobRequest<'a>
impl<'a> PartialEq for GitBlobRequest<'a>
impl<'a> StructuralPartialEq for GitBlobRequest<'a>
Auto Trait Implementations§
impl<'a> Freeze for GitBlobRequest<'a>
impl<'a> RefUnwindSafe for GitBlobRequest<'a>
impl<'a> Send for GitBlobRequest<'a>
impl<'a> Sync for GitBlobRequest<'a>
impl<'a> Unpin for GitBlobRequest<'a>
impl<'a> UnsafeUnpin for GitBlobRequest<'a>
impl<'a> UnwindSafe for GitBlobRequest<'a>
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