pub struct LAEnvironmentMechanismUserPassword { /* private fields */ }Expand description
Password or passcode LAEnvironment mechanism details.
Implementations§
Source§impl LAEnvironmentMechanismUserPassword
impl LAEnvironmentMechanismUserPassword
Sourcepub fn is_usable(&self) -> Result<bool>
pub fn is_usable(&self) -> Result<bool>
Whether the mechanism is currently usable for authentication.
§Errors
Returns an error if the Swift bridge rejects the request.
Sourcepub fn localized_name(&self) -> Result<String>
pub fn localized_name(&self) -> Result<String>
Localized display name such as Password.
§Errors
Returns an error if the Swift bridge rejects the request.
Sourcepub fn icon_system_name(&self) -> Result<String>
pub fn icon_system_name(&self) -> Result<String>
SF Symbol name representing this mechanism.
§Errors
Returns an error if the Swift bridge rejects the request.
Trait Implementations§
Auto Trait Implementations§
impl !Send for LAEnvironmentMechanismUserPassword
impl !Sync for LAEnvironmentMechanismUserPassword
impl Freeze for LAEnvironmentMechanismUserPassword
impl RefUnwindSafe for LAEnvironmentMechanismUserPassword
impl Unpin for LAEnvironmentMechanismUserPassword
impl UnsafeUnpin for LAEnvironmentMechanismUserPassword
impl UnwindSafe for LAEnvironmentMechanismUserPassword
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