[][src]Struct ftp_cmd_list_parse::FtpEntryUnix

pub struct FtpEntryUnix {
    pub target: Option<String>,
    pub sticky: bool,
    pub permissions: FtpEntryPermissions,
    pub acl: bool,
    pub owner: String,
    pub group: String,
    pub pointer: Option<String>,
    // some fields omitted
}

Represents entry from Unix-like FTP server.

Fields

target: Option<String>

For symlink entries, this is the symlink's target.

sticky: bool

True if the sticky bit is set for this entry.

permissions: FtpEntryPermissions

The various permissions for this entry.

acl: bool

Marks extra ACL permission for this entry.

owner: String

The user name or ID that this entry belongs to.

group: String

The group name or ID that this entry belongs to.

pointer: Option<String>

Implementations

impl FtpEntryUnix[src]

pub fn new(string: &str) -> Option<Self>[src]

Represents parsed string as entry of an Unix-type FTP server.

Trait Implementations

impl Debug for FtpEntryUnix[src]

impl FtpEntryInfo for FtpEntryUnix[src]

impl TryFrom<&'_ str> for FtpEntryUnix[src]

type Error = ()

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.