pub struct MountOperationBuilder { /* private fields */ }
Expand description

A builder-pattern type to construct MountOperation objects.

Implementations§

Create a new MountOperationBuilder.

Build the MountOperation.

The display where dialogs will be shown.

The parent window.

Whether to use an anonymous user when authenticating.

The index of the user’s choice when a question is asked during the mount operation. See the #GMountOperation::ask-question signal.

The domain to use for the mount operation.

Whether the device to be unlocked is a TCRYPT hidden volume. See the VeraCrypt documentation.

Whether the device to be unlocked is a TCRYPT system volume. In this context, a system volume is a volume with a bootloader and operating system installed. This is only supported for Windows operating systems. For further documentation, see the VeraCrypt documentation.

The password that is used for authentication when carrying out the mount operation.

Determines if and how the password information should be saved.

The VeraCrypt PIM value, when unlocking a VeraCrypt volume. See the VeraCrypt documentation.

The user name that is used for authentication when carrying out the mount operation.

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.