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
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 Default for NFSFileShareDefaults
[src]
impl Default for NFSFileShareDefaults
fn default() -> NFSFileShareDefaults
[src]
fn default() -> NFSFileShareDefaults
Returns the "default value" for a type. Read more
impl Debug for NFSFileShareDefaults
[src]
impl Debug for NFSFileShareDefaults
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for NFSFileShareDefaults
[src]
impl Clone for NFSFileShareDefaults
fn clone(&self) -> NFSFileShareDefaults
[src]
fn clone(&self) -> NFSFileShareDefaults
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl PartialEq for NFSFileShareDefaults
[src]
impl PartialEq for NFSFileShareDefaults
fn eq(&self, other: &NFSFileShareDefaults) -> bool
[src]
fn eq(&self, other: &NFSFileShareDefaults) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &NFSFileShareDefaults) -> bool
[src]
fn ne(&self, other: &NFSFileShareDefaults) -> bool
This method tests for !=
.
Auto Trait Implementations
impl Send for NFSFileShareDefaults
impl Send for NFSFileShareDefaults
impl Sync for NFSFileShareDefaults
impl Sync for NFSFileShareDefaults