#[repr(C)]pub struct SecKeychainSettings {
pub version: u32,
pub lockOnSleep: u8,
pub useLockInterval: u8,
pub lockInterval: u32,
}
Available on crate feature
SecKeychain
only.Expand description
Contains keychain settings. Field: version An unsigned 32-bit integer representing the keychain version. Field: lockOnSleep A boolean value indicating whether the keychain locks when the system sleeps. Field: useLockInterval A boolean value indicating whether the keychain automatically locks after a certain period of time. Field: lockInterval An unsigned 32-bit integer representing the number of seconds before the keychain locks.
See also Apple’s documentation
Fields§
§version: u32
§lockOnSleep: u8
§useLockInterval: u8
§lockInterval: u32
Trait Implementations§
Source§impl Clone for SecKeychainSettings
impl Clone for SecKeychainSettings
Source§fn clone(&self) -> SecKeychainSettings
fn clone(&self) -> SecKeychainSettings
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 SecKeychainSettings
impl Debug for SecKeychainSettings
Source§impl Encode for SecKeychainSettings
Available on crate feature objc2
only.
impl Encode for SecKeychainSettings
Available on crate feature
objc2
only.Source§impl PartialEq for SecKeychainSettings
impl PartialEq for SecKeychainSettings
Source§impl RefEncode for SecKeychainSettings
Available on crate feature objc2
only.
impl RefEncode for SecKeychainSettings
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 SecKeychainSettings
impl StructuralPartialEq for SecKeychainSettings
Auto Trait Implementations§
impl Freeze for SecKeychainSettings
impl RefUnwindSafe for SecKeychainSettings
impl Send for SecKeychainSettings
impl Sync for SecKeychainSettings
impl Unpin for SecKeychainSettings
impl UnwindSafe for SecKeychainSettings
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.