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,
/* private fields */
}
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.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for NfsExport
impl<'de> Deserialize<'de> for NfsExport
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
Auto Trait Implementations§
impl Freeze for NfsExport
impl RefUnwindSafe for NfsExport
impl Send for NfsExport
impl Sync for NfsExport
impl Unpin for NfsExport
impl UnwindSafe for NfsExport
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)