#[repr(transparent)]pub struct SecItemAttr(pub u32);
Available on crate feature
SecKeychainItem
only.Expand description
Specifies keychain item attributes.
To obtain information about a certificate, use the CDSA Certificate Library (CL) API. To obtain information about a key, use the SecKeyGetCSSMKey function and the CDSA Cryptographic Service Provider (CSP) API.
See also Apple’s documentation
Tuple Fields§
§0: u32
Implementations§
Source§impl SecItemAttr
impl SecItemAttr
pub const CreationDateItemAttr: Self
pub const ModDateItemAttr: Self
pub const DescriptionItemAttr: Self
pub const CommentItemAttr: Self
pub const CreatorItemAttr: Self
pub const TypeItemAttr: Self
pub const ScriptCodeItemAttr: Self
pub const LabelItemAttr: Self
pub const InvisibleItemAttr: Self
pub const NegativeItemAttr: Self
pub const CustomIconItemAttr: Self
pub const AccountItemAttr: Self
pub const ServiceItemAttr: Self
pub const GenericItemAttr: Self
pub const SecurityDomainItemAttr: Self
pub const ServerItemAttr: Self
pub const AuthenticationTypeItemAttr: Self
pub const PortItemAttr: Self
pub const PathItemAttr: Self
pub const VolumeItemAttr: Self
pub const AddressItemAttr: Self
pub const SignatureItemAttr: Self
pub const ProtocolItemAttr: Self
pub const CertificateType: Self
pub const CertificateEncoding: Self
pub const CrlType: Self
pub const CrlEncoding: Self
pub const Alias: Self
Trait Implementations§
Source§impl Clone for SecItemAttr
impl Clone for SecItemAttr
Source§fn clone(&self) -> SecItemAttr
fn clone(&self) -> SecItemAttr
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SecItemAttr
impl Debug for SecItemAttr
Source§impl Encode for SecItemAttr
Available on crate feature objc2
only.
impl Encode for SecItemAttr
Available on crate feature
objc2
only.Source§impl Hash for SecItemAttr
impl Hash for SecItemAttr
Source§impl Ord for SecItemAttr
impl Ord for SecItemAttr
Source§fn cmp(&self, other: &SecItemAttr) -> Ordering
fn cmp(&self, other: &SecItemAttr) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SecItemAttr
impl PartialEq for SecItemAttr
Source§impl PartialOrd for SecItemAttr
impl PartialOrd for SecItemAttr
Source§impl RefEncode for SecItemAttr
Available on crate feature objc2
only.
impl RefEncode for SecItemAttr
Available on crate feature
objc2
only.Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for SecItemAttr
impl Eq for SecItemAttr
impl StructuralPartialEq for SecItemAttr
Auto Trait Implementations§
impl Freeze for SecItemAttr
impl RefUnwindSafe for SecItemAttr
impl Send for SecItemAttr
impl Sync for SecItemAttr
impl Unpin for SecItemAttr
impl UnwindSafe for SecItemAttr
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.