Struct rusoto_storagegateway::NFSFileShareDefaults[][src]

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

Describes 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 in the file gateway type.

Fields

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.

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.

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

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 Default for NFSFileShareDefaults
[src]

Returns the "default value" for a type. Read more

impl Debug for NFSFileShareDefaults
[src]

Formats the value using the given formatter. Read more

impl Clone for NFSFileShareDefaults
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for NFSFileShareDefaults
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations