pub struct ListPathEntriesResponse {
pub namespace_id: NamespaceId,
pub absolute_path: AbsolutePath,
pub head_seq: ChangeSeq,
pub entries: Vec<AuthoritativePathEntry>,
pub next_cursor: Option<String>,
}Expand description
One directory listing and the namespace head it was answered at.
The envelope names the listing target and head so an empty directory
still tells the caller which state it observed, and so the response can
grow without reshaping entries.
Fields§
§namespace_id: NamespaceIdNamespace that was read.
absolute_path: AbsolutePathAbsolute path of the listed directory.
head_seq: ChangeSeqNamespace head sequence this listing was read from.
entries: Vec<AuthoritativePathEntry>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 ListPathEntriesResponse
impl Clone for ListPathEntriesResponse
Source§fn clone(&self) -> ListPathEntriesResponse
fn clone(&self) -> ListPathEntriesResponse
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 ListPathEntriesResponse
impl Debug for ListPathEntriesResponse
Source§impl<'de> Deserialize<'de> for ListPathEntriesResponse
impl<'de> Deserialize<'de> for ListPathEntriesResponse
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 ListPathEntriesResponse
Source§impl PartialEq for ListPathEntriesResponse
impl PartialEq for ListPathEntriesResponse
Source§impl Serialize for ListPathEntriesResponse
impl Serialize for ListPathEntriesResponse
impl StructuralPartialEq for ListPathEntriesResponse
Auto Trait Implementations§
impl Freeze for ListPathEntriesResponse
impl RefUnwindSafe for ListPathEntriesResponse
impl Send for ListPathEntriesResponse
impl Sync for ListPathEntriesResponse
impl Unpin for ListPathEntriesResponse
impl UnsafeUnpin for ListPathEntriesResponse
impl UnwindSafe for ListPathEntriesResponse
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