Skip to main content
pub struct CreateDirectoryRequestOptions 
    pub create_home_directory: String,
    pub data_limit: String,
    pub no_error_if_exists: String,

Optional parameters for the /create/directory endpoint.

Default::default() is the empty set: only options set explicitly are sent, and anything left empty falls back to the server’s own default.

Fields

create_home_directory: String

When set, a home directory is created for the user name provided in the value. The directory_name must be an empty string in this case. The user must exist.

data_limit: String

The maximum capacity, in bytes, to apply to the created directory. Set to -1 to indicate no upper limit. If empty, the system default limit is applied.

no_error_if_exists: String

If true, does not return an error if the directory already exists. Server default: false.

Implementations

Converts the set (non-empty) options into the wire-format string map.

Trait Implementations

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source

fn fmt(&self, f: &mut Formatter<’_>) -> Result

Formats the value using the given formatter. Read more