pub struct HarnessHostDirectoryListingV1 {
pub directory: Option<HarnessHostPathV1>,
pub parent: Option<HarnessHostPathV1>,
pub entries: Vec<HarnessHostDirectoryEntryV1>,
pub next_after: Option<HarnessHostPathV1>,
pub incomplete: bool,
}Expand description
BrowseHostDirectories’s reply: mirrors the node’s own
HostDirectoryListing field-for-field. Entries are deliberately not
asserted to be sorted (unlike most other bounded collections on this
wire, e.g. HarnessWorkspaceTreeEntryV1): a live directory listing has no
such guarantee from the underlying filesystem, so imposing one here would
reject a legitimate page.
Fields§
§directory: Option<HarnessHostPathV1>§parent: Option<HarnessHostPathV1>§entries: Vec<HarnessHostDirectoryEntryV1>§next_after: Option<HarnessHostPathV1>§incomplete: boolTrue only when another page of supported directory entries is available.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for HarnessHostDirectoryListingV1
impl<'de> Deserialize<'de> for HarnessHostDirectoryListingV1
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 HarnessHostDirectoryListingV1
impl StructuralPartialEq for HarnessHostDirectoryListingV1
Auto Trait Implementations§
impl Freeze for HarnessHostDirectoryListingV1
impl RefUnwindSafe for HarnessHostDirectoryListingV1
impl Send for HarnessHostDirectoryListingV1
impl Sync for HarnessHostDirectoryListingV1
impl Unpin for HarnessHostDirectoryListingV1
impl UnsafeUnpin for HarnessHostDirectoryListingV1
impl UnwindSafe for HarnessHostDirectoryListingV1
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