pub enum FileSystemEntryType {
File,
Directory,
NetworkComputer,
NetworkShare,
}Expand description
Enum FileSystemEntryType.
JSON schema
{
"description": "Enum FileSystemEntryType.",
"type": "string",
"enum": [
"File",
"Directory",
"NetworkComputer",
"NetworkShare"
]
}Variants§
Trait Implementations§
Source§impl Clone for FileSystemEntryType
impl Clone for FileSystemEntryType
Source§fn clone(&self) -> FileSystemEntryType
fn clone(&self) -> FileSystemEntryType
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 moreimpl Copy for FileSystemEntryType
Source§impl Debug for FileSystemEntryType
impl Debug for FileSystemEntryType
Source§impl<'de> Deserialize<'de> for FileSystemEntryType
impl<'de> Deserialize<'de> for FileSystemEntryType
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 FileSystemEntryType
Source§impl From<&FileSystemEntryType> for FileSystemEntryType
impl From<&FileSystemEntryType> for FileSystemEntryType
Source§fn from(value: &FileSystemEntryType) -> Self
fn from(value: &FileSystemEntryType) -> Self
Converts to this type from the input type.
Source§impl FromStr for FileSystemEntryType
impl FromStr for FileSystemEntryType
Source§impl Hash for FileSystemEntryType
impl Hash for FileSystemEntryType
Source§impl Ord for FileSystemEntryType
impl Ord for FileSystemEntryType
Source§fn cmp(&self, other: &FileSystemEntryType) -> Ordering
fn cmp(&self, other: &FileSystemEntryType) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for FileSystemEntryType
impl PartialEq for FileSystemEntryType
Source§fn eq(&self, other: &FileSystemEntryType) -> bool
fn eq(&self, other: &FileSystemEntryType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for FileSystemEntryType
impl PartialOrd for FileSystemEntryType
Source§impl Serialize for FileSystemEntryType
impl Serialize for FileSystemEntryType
impl StructuralPartialEq for FileSystemEntryType
Source§impl ToString for FileSystemEntryType
impl ToString for FileSystemEntryType
Source§impl TryFrom<&String> for FileSystemEntryType
impl TryFrom<&String> for FileSystemEntryType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for FileSystemEntryType
impl TryFrom<&str> for FileSystemEntryType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for FileSystemEntryType
impl TryFrom<String> for FileSystemEntryType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for FileSystemEntryType
impl RefUnwindSafe for FileSystemEntryType
impl Send for FileSystemEntryType
impl Sync for FileSystemEntryType
impl Unpin for FileSystemEntryType
impl UnsafeUnpin for FileSystemEntryType
impl UnwindSafe for FileSystemEntryType
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