pub struct RecordType(pub u32);Expand description
A CSSM relation identifier (CSSM_DB_RECORDTYPE).
Tuple Fields§
§0: u32Implementations§
Source§impl RecordType
impl RecordType
pub const SCHEMA_INFO: Self
pub const SCHEMA_INDEXES: Self
pub const SCHEMA_ATTRIBUTES: Self
pub const SCHEMA_PARSING_MODULE: Self
pub const CERT: Self
pub const CRL: Self
pub const POLICY: Self
pub const GENERIC: Self
pub const PUBLIC_KEY: Self
pub const PRIVATE_KEY: Self
pub const SYMMETRIC_KEY: Self
pub const GENERIC_PASSWORD: Self
pub const INTERNET_PASSWORD: Self
pub const APPLESHARE_PASSWORD: Self
pub const USER_TRUST: Self
pub const X509_CRL: Self
pub const UNLOCK_REFERRAL: Self
pub const EXTENDED_ATTRIBUTE: Self
pub const X509_CERTIFICATE: Self
pub const METADATA: Self
Sourcepub fn is_application_specific(self) -> bool
pub fn is_application_specific(self) -> bool
True for application-specific relations, which set the high bit.
pub fn name(self) -> &'static str
Sourcepub fn short_name(self) -> Option<&'static str>
pub fn short_name(self) -> Option<&'static str>
Short name for the CLI: generic, internet, appleshare.
Trait Implementations§
Source§impl Clone for RecordType
impl Clone for RecordType
Source§fn clone(&self) -> RecordType
fn clone(&self) -> RecordType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RecordType
Source§impl Debug for RecordType
impl Debug for RecordType
impl Eq for RecordType
Source§impl Hash for RecordType
impl Hash for RecordType
Source§impl Ord for RecordType
impl Ord for RecordType
Source§fn cmp(&self, other: &RecordType) -> Ordering
fn cmp(&self, other: &RecordType) -> Ordering
1.21.0 (const: unstable) · 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 RecordType
impl PartialEq for RecordType
Source§impl PartialOrd for RecordType
impl PartialOrd for RecordType
impl StructuralPartialEq for RecordType
Auto Trait Implementations§
impl Freeze for RecordType
impl RefUnwindSafe for RecordType
impl Send for RecordType
impl Sync for RecordType
impl Unpin for RecordType
impl UnsafeUnpin for RecordType
impl UnwindSafe for RecordType
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