[][src]Struct security_framework::os::macos::import_export::ImportOptions

pub struct ImportOptions<'a> { /* fields omitted */ }

A builder type to import Security Framework types from serialized formats.

Methods

impl<'a> ImportOptions<'a>
[src]

Creates a new builder with default options.

Sets the filename from which the imported data came.

The extension of the file will used as a hint for parsing.

Sets the passphrase to be used to decrypt the imported data.

Sets the passphrase to be used to decrypt the imported data.

If set, the user will be prompted to imput the passphrase used to decrypt the imported data.

If set, imported items will have no access controls imposed on them.

Sets the title of the alert popup used with the secure_passphrase option.

Sets the prompt of the alert popup used with the secure_passphrase option.

Sets the object into which imported items will be placed.

Sets the keychain into which items will be imported.

This must be specified to import SecIdentitys.

Imports items from serialized data.

Trait Implementations

impl<'a> Default for ImportOptions<'a>
[src]

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

Auto Trait Implementations

impl<'a> !Send for ImportOptions<'a>

impl<'a> !Sync for ImportOptions<'a>

Blanket Implementations

impl<T> From for T
[src]

Performs the conversion.

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

Performs the conversion.

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Borrow for T where
    T: ?Sized
[src]

Immutably borrows from an owned value. Read more

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

Mutably borrows from an owned value. Read more

impl<T> Any for T where
    T: 'static + ?Sized
[src]

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more