[][src]Struct lsm::NfsExport

pub struct NfsExport {
    pub id: String,
    pub fs_id: String,
    pub export_path: String,
    pub auth: String,
    pub root: Vec<String>,
    pub rw: Vec<String>,
    pub ro: Vec<String>,
    pub anonuid: i64,
    pub anongid: i64,
    pub options: String,
    // some fields omitted
}

Fields

id: String

Identifier.

fs_id: String

Identifier of file system.

export_path: String

NFS export path.

auth: String

NFS authentication type.

root: Vec<String>

Host list with root access.

rw: Vec<String>

Host list with read and write access.

ro: Vec<String>

Host list with read only access.

anonuid: i64

User ID for anonymous access.

anongid: i64

Group ID for anonymous access.

options: String

NFS extra options.

Methods

impl NfsExport[src]

pub const ANON_UID_GID_NA: i64[src]

Default user and group ID for anonymous access.

Trait Implementations

impl Clone for NfsExport[src]

impl Debug for NfsExport[src]

impl<'de> Deserialize<'de> for NfsExport[src]

impl Serialize for NfsExport[src]

Auto Trait Implementations

impl RefUnwindSafe for NfsExport

impl Send for NfsExport

impl Sync for NfsExport

impl Unpin for NfsExport

impl UnwindSafe for NfsExport

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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.