[][src]Struct rusoto_storagegateway::NFSFileShareDefaults

pub struct NFSFileShareDefaults {
    pub directory_mode: Option<String>,
    pub file_mode: Option<String>,
    pub group_id: Option<i64>,
    pub owner_id: Option<i64>,
}

Describes Network File System (NFS) file share default values. Files and folders stored as Amazon S3 objects in S3 buckets don't, by default, have Unix file permissions assigned to them. Upon discovery in an S3 bucket by Storage Gateway, the S3 objects that represent files and folders are assigned these default Unix permissions. This operation is only supported for file gateways.

Fields

directory_mode: Option<String>

The Unix directory mode in the form "nnnn". For example, 0666 represents the default access mode for all directories inside the file share. The default value is 0777.

file_mode: Option<String>

The Unix file mode in the form "nnnn". For example, 0666 represents the default file mode inside the file share. The default value is 0666.

group_id: Option<i64>

The default group ID for the file share (unless the files have another group ID specified). The default value is nfsnobody.

owner_id: Option<i64>

The default owner ID for files in the file share (unless the files have another owner ID specified). The default value is nfsnobody.

Trait Implementations

impl Clone for NFSFileShareDefaults[src]

impl Debug for NFSFileShareDefaults[src]

impl Default for NFSFileShareDefaults[src]

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

impl PartialEq<NFSFileShareDefaults> for NFSFileShareDefaults[src]

impl Serialize for NFSFileShareDefaults[src]

impl StructuralPartialEq for NFSFileShareDefaults[src]

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

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

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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.