pub struct TrashPageCursor {
pub head_seq: ChangeSeq,
pub last_deleted_at_seq: ChangeSeq,
pub last_root_inode_id: InodeId,
}Expand description
Cursor for one trash listing position.
Trash pagination advances oldest deletion first, in ascending
(deleted_at_seq, root_inode_id) order — the order the derived
active-deletion family is keyed in. Like every cursor, it is an ordering
resume tolerating forward head drift: the next page evaluates at whatever
head is loaded and continues strictly after the deletion generation named
here.
Fields§
§head_seq: ChangeSeqHead sequence the issuing page was evaluated at.
last_deleted_at_seq: ChangeSeqCommit sequence of the deletion the previous page ended on.
last_root_inode_id: InodeIdDeleted root inode the previous page ended on.
Trait Implementations§
Source§impl Clone for TrashPageCursor
impl Clone for TrashPageCursor
Source§fn clone(&self) -> TrashPageCursor
fn clone(&self) -> TrashPageCursor
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 TrashPageCursor
impl Debug for TrashPageCursor
Source§impl<'de> Deserialize<'de> for TrashPageCursor
impl<'de> Deserialize<'de> for TrashPageCursor
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TrashPageCursor
Source§impl PageCursor for TrashPageCursor
impl PageCursor for TrashPageCursor
Source§impl PartialEq for TrashPageCursor
impl PartialEq for TrashPageCursor
Source§impl Serialize for TrashPageCursor
impl Serialize for TrashPageCursor
impl StructuralPartialEq for TrashPageCursor
Auto Trait Implementations§
impl Freeze for TrashPageCursor
impl RefUnwindSafe for TrashPageCursor
impl Send for TrashPageCursor
impl Sync for TrashPageCursor
impl Unpin for TrashPageCursor
impl UnsafeUnpin for TrashPageCursor
impl UnwindSafe for TrashPageCursor
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