pub struct HarnessHostDirectoryEntryV1 {
pub path: HarnessHostPathV1,
pub display_name: String,
pub is_link: bool,
}Expand description
One entry in a BrowseHostDirectories page. Mirrors the node’s own
HostDirectoryEntry field-for-field; that type’s own constructor already
rejects a non-UTF-8 path, so the node never actually produces the case
HarnessHostPathV1 would reject here.
Fields§
§path: HarnessHostPathV1§display_name: String§is_link: boolTrait Implementations§
Source§impl Clone for HarnessHostDirectoryEntryV1
impl Clone for HarnessHostDirectoryEntryV1
Source§impl Debug for HarnessHostDirectoryEntryV1
impl Debug for HarnessHostDirectoryEntryV1
Source§impl<'de> Deserialize<'de> for HarnessHostDirectoryEntryV1
impl<'de> Deserialize<'de> for HarnessHostDirectoryEntryV1
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 HarnessHostDirectoryEntryV1
impl StructuralPartialEq for HarnessHostDirectoryEntryV1
Auto Trait Implementations§
impl Freeze for HarnessHostDirectoryEntryV1
impl RefUnwindSafe for HarnessHostDirectoryEntryV1
impl Send for HarnessHostDirectoryEntryV1
impl Sync for HarnessHostDirectoryEntryV1
impl Unpin for HarnessHostDirectoryEntryV1
impl UnsafeUnpin for HarnessHostDirectoryEntryV1
impl UnwindSafe for HarnessHostDirectoryEntryV1
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