pub enum ItemAddValue {
    Ref(AddRef),
    Data {
        class: ItemClass,
        data: CFData,
    },
}
Expand description

Value of an item to add to the keychain.

Variants§

§

Ref(AddRef)

Pass item by Ref (kSecValueRef)

§

Data

Fields

§class: ItemClass

The item class (kSecClass).

§data: CFData

The item data.

Pass item by Data (kSecValueData)

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 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.