pub struct NfsExport {
pub allow_dev: Option<bool>,
pub allow_suid: Option<bool>,
pub cidr: Option<String>,
pub machine_id: Option<String>,
pub network_id: Option<String>,
pub no_root_squash: Option<bool>,
pub permissions: Option<String>,
}Expand description
A NFS export entry.
This type is not used in any activity, and only used as part of another schema.
Fields§
§allow_dev: Option<bool>Allow dev flag in NfsShare AllowedClientsRequest.
allow_suid: Option<bool>Allow the setuid flag.
cidr: Option<String>A CIDR range.
machine_id: Option<String>Either a single machine, identified by an ID, or a comma-separated list of machine IDs.
network_id: Option<String>Network to use to publish the export.
no_root_squash: Option<bool>Disable root squashing, which is a feature of NFS. Root squash is a special mapping of the remote superuser (root) identity when using identity authentication.
permissions: Option<String>Export permissions.
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
impl Part for NfsExport
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