pub struct HostDirectoryEntry {
pub path: OpaqueHostPath,
pub display_name: String,
pub is_link: bool,
}Fields§
§path: OpaqueHostPath§display_name: String§is_link: boolImplementations§
Source§impl HostDirectoryEntry
impl HostDirectoryEntry
pub fn new( path: OpaqueHostPath, display_name: String, is_link: bool, ) -> Result<HostDirectoryEntry, HostDirectoryEntryError>
Trait Implementations§
Source§impl Clone for HostDirectoryEntry
impl Clone for HostDirectoryEntry
Source§fn clone(&self) -> HostDirectoryEntry
fn clone(&self) -> HostDirectoryEntry
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 HostDirectoryEntry
impl Debug for HostDirectoryEntry
Source§impl<'de> Deserialize<'de> for HostDirectoryEntry
impl<'de> Deserialize<'de> for HostDirectoryEntry
Source§fn deserialize<D>(
deserializer: D,
) -> Result<HostDirectoryEntry, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<HostDirectoryEntry, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for HostDirectoryEntry
Source§impl PartialEq for HostDirectoryEntry
impl PartialEq for HostDirectoryEntry
Source§impl Serialize for HostDirectoryEntry
impl Serialize for HostDirectoryEntry
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for HostDirectoryEntry
Auto Trait Implementations§
impl Freeze for HostDirectoryEntry
impl RefUnwindSafe for HostDirectoryEntry
impl Send for HostDirectoryEntry
impl Sync for HostDirectoryEntry
impl Unpin for HostDirectoryEntry
impl UnsafeUnpin for HostDirectoryEntry
impl UnwindSafe for HostDirectoryEntry
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