pub struct AuthorizationItemSetBuilder { /* private fields */ }Expand description
A convenience AuthorizationItemSetBuilder builder which enabled you to use
rust types. All names and values passed in will be copied.
Implementations
Creates a new AuthorizationItemSetStore, which simplifies creating
owned vectors of AuthorizationItems.
Adds an AuthorizationItem with the name set to a right and an empty value.
If name isn’t convertable to a CString it will return
Err(errSecConversionError).
Adds an AuthorizationItem with arbitrary data.
If name isn’t convertable to a CString it will return
Err(errSecConversionError).
Adds an AuthorizationItem with NULL terminated string data.
If name or value isn’t convertable to a CString it will return
Err(errSecConversionError).
Creates the sys::AuthorizationItemSet, and gives you ownership of the
data it points to.
Trait Implementations
Returns the “default value” for a type. Read more