Struct security_framework::authorization::AuthorizationItemSetBuilder [−][src]
pub struct AuthorizationItemSetBuilder { /* fields omitted */ }
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 AuthorizationItem
s.
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
Auto Trait Implementations
impl RefUnwindSafe for AuthorizationItemSetBuilder
impl !Send for AuthorizationItemSetBuilder
impl !Sync for AuthorizationItemSetBuilder
impl Unpin for AuthorizationItemSetBuilder
impl UnwindSafe for AuthorizationItemSetBuilder