pub struct ListInodeChildrenResponse {
pub namespace_id: NamespaceId,
pub parent_inode_id: InodeId,
pub head_seq: ChangeSeq,
pub entries: Vec<PathEntry>,
pub next_cursor: Option<String>,
}Expand description
One directory listing addressed by parent inode, and the namespace head it was answered at.
The envelope names the parent by its stable inode identity rather than a path, so a page and its resumption always describe the same directory even when the parent is concurrently renamed or moved.
Fields§
§namespace_id: NamespaceIdNamespace that was read.
parent_inode_id: InodeIdDirectory inode whose children were returned.
head_seq: ChangeSeqNamespace head sequence this listing was read from.
entries: Vec<PathEntry>Directory entries for this page.
Entries are returned in canonical name-key order. Higher-level display surfaces may sort entries separately for presentation.
next_cursor: Option<String>Cursor for the next page, if more entries remain.
Trait Implementations§
Source§impl Clone for ListInodeChildrenResponse
impl Clone for ListInodeChildrenResponse
Source§fn clone(&self) -> ListInodeChildrenResponse
fn clone(&self) -> ListInodeChildrenResponse
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 ListInodeChildrenResponse
impl Debug for ListInodeChildrenResponse
Source§impl<'de> Deserialize<'de> for ListInodeChildrenResponse
impl<'de> Deserialize<'de> for ListInodeChildrenResponse
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 ListInodeChildrenResponse
impl StructuralPartialEq for ListInodeChildrenResponse
Auto Trait Implementations§
impl Freeze for ListInodeChildrenResponse
impl RefUnwindSafe for ListInodeChildrenResponse
impl Send for ListInodeChildrenResponse
impl Sync for ListInodeChildrenResponse
impl Unpin for ListInodeChildrenResponse
impl UnsafeUnpin for ListInodeChildrenResponse
impl UnwindSafe for ListInodeChildrenResponse
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