pub enum GuestFileTypeEnum {
File,
Directory,
Symlink,
Other_(String),
}Expand description
Possible values:
file: Regular files, and on Posix filesystems, unix domain sockets and devices.directory: directorysymlink: symbolic link
Variants§
Trait Implementations§
Source§impl Clone for GuestFileTypeEnum
impl Clone for GuestFileTypeEnum
Source§fn clone(&self) -> GuestFileTypeEnum
fn clone(&self) -> GuestFileTypeEnum
Returns a duplicate of the value. Read more
1.0.0 · 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 GuestFileTypeEnum
impl Debug for GuestFileTypeEnum
Source§impl<'de> Deserialize<'de> for GuestFileTypeEnum
impl<'de> Deserialize<'de> for GuestFileTypeEnum
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
Source§impl<'_derivative_strum> From<&'_derivative_strum GuestFileTypeEnum> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum GuestFileTypeEnum> for &'static str
Source§fn from(x: &'_derivative_strum GuestFileTypeEnum) -> &'static str
fn from(x: &'_derivative_strum GuestFileTypeEnum) -> &'static str
Converts to this type from the input type.
Source§impl From<GuestFileTypeEnum> for &'static str
impl From<GuestFileTypeEnum> for &'static str
Source§fn from(x: GuestFileTypeEnum) -> &'static str
fn from(x: GuestFileTypeEnum) -> &'static str
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GuestFileTypeEnum
impl RefUnwindSafe for GuestFileTypeEnum
impl Send for GuestFileTypeEnum
impl Sync for GuestFileTypeEnum
impl Unpin for GuestFileTypeEnum
impl UnwindSafe for GuestFileTypeEnum
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