pub struct GitReflogRequest<'a> {
pub nonce: u16,
pub repo_id: u16,
pub flags: u8,
pub limit: u16,
pub ref_name: &'a str,
pub after_pos: u64,
}Expand description
A decoded C2S_GIT_REFLOG.
Fields§
§nonce: u16§repo_id: u16§flags: u8§limit: u160 = the server default; clamped to the entry budget.
ref_name: &'a strEmpty = HEAD.
after_pos: u64Entries already delivered from the end OLDEST_FIRST selects, so a
reflog longer than limit pages: re-issue with the CURSOR’s
pos. A reflog has no path to name a resume point with, and the
file is append-only, so the position is the key — subject to the
family’s per-item-coherent, whole-response-best-effort contract if
entries land between pages.
Trait Implementations§
Source§impl<'a> Clone for GitReflogRequest<'a>
impl<'a> Clone for GitReflogRequest<'a>
Source§fn clone(&self) -> GitReflogRequest<'a>
fn clone(&self) -> GitReflogRequest<'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 GitReflogRequest<'a>
impl<'a> Debug for GitReflogRequest<'a>
impl<'a> Eq for GitReflogRequest<'a>
Source§impl<'a> PartialEq for GitReflogRequest<'a>
impl<'a> PartialEq for GitReflogRequest<'a>
impl<'a> StructuralPartialEq for GitReflogRequest<'a>
Auto Trait Implementations§
impl<'a> Freeze for GitReflogRequest<'a>
impl<'a> RefUnwindSafe for GitReflogRequest<'a>
impl<'a> Send for GitReflogRequest<'a>
impl<'a> Sync for GitReflogRequest<'a>
impl<'a> Unpin for GitReflogRequest<'a>
impl<'a> UnsafeUnpin for GitReflogRequest<'a>
impl<'a> UnwindSafe for GitReflogRequest<'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