#[cfg(feature = "Security_Credentials_UI")] pub mod UI; pub type IWebAccount = *mut ::core::ffi::c_void; pub type KeyCredential = *mut ::core::ffi::c_void; pub type KeyCredentialAttestationResult = *mut ::core::ffi::c_void; #[doc = "*Required features: `\"Security_Credentials\"`*"] #[repr(transparent)] pub struct KeyCredentialAttestationStatus(pub i32); impl KeyCredentialAttestationStatus { pub const Success: Self = Self(0i32); pub const UnknownError: Self = Self(1i32); pub const NotSupported: Self = Self(2i32); pub const TemporaryFailure: Self = Self(3i32); } impl ::core::marker::Copy for KeyCredentialAttestationStatus {} impl ::core::clone::Clone for KeyCredentialAttestationStatus { fn clone(&self) -> Self { *self } } #[doc = "*Required features: `\"Security_Credentials\"`*"] #[repr(transparent)] pub struct KeyCredentialCreationOption(pub i32); impl KeyCredentialCreationOption { pub const ReplaceExisting: Self = Self(0i32); pub const FailIfExists: Self = Self(1i32); } impl ::core::marker::Copy for KeyCredentialCreationOption {} impl ::core::clone::Clone for KeyCredentialCreationOption { fn clone(&self) -> Self { *self } } pub type KeyCredentialOperationResult = *mut ::core::ffi::c_void; pub type KeyCredentialRetrievalResult = *mut ::core::ffi::c_void; #[doc = "*Required features: `\"Security_Credentials\"`*"] #[repr(transparent)] pub struct KeyCredentialStatus(pub i32); impl KeyCredentialStatus { pub const Success: Self = Self(0i32); pub const UnknownError: Self = Self(1i32); pub const NotFound: Self = Self(2i32); pub const UserCanceled: Self = Self(3i32); pub const UserPrefersPassword: Self = Self(4i32); pub const CredentialAlreadyExists: Self = Self(5i32); pub const SecurityDeviceLocked: Self = Self(6i32); } impl ::core::marker::Copy for KeyCredentialStatus {} impl ::core::clone::Clone for KeyCredentialStatus { fn clone(&self) -> Self { *self } } pub type PasswordCredential = *mut ::core::ffi::c_void; pub type PasswordCredentialPropertyStore = *mut ::core::ffi::c_void; pub type PasswordVault = *mut ::core::ffi::c_void; pub type WebAccount = *mut ::core::ffi::c_void; #[doc = "*Required features: `\"Security_Credentials\"`*"] #[repr(transparent)] pub struct WebAccountPictureSize(pub i32); impl WebAccountPictureSize { pub const Size64x64: Self = Self(64i32); pub const Size208x208: Self = Self(208i32); pub const Size424x424: Self = Self(424i32); pub const Size1080x1080: Self = Self(1080i32); } impl ::core::marker::Copy for WebAccountPictureSize {} impl ::core::clone::Clone for WebAccountPictureSize { fn clone(&self) -> Self { *self } } pub type WebAccountProvider = *mut ::core::ffi::c_void; #[doc = "*Required features: `\"Security_Credentials\"`*"] #[repr(transparent)] pub struct WebAccountState(pub i32); impl WebAccountState { pub const None: Self = Self(0i32); pub const Connected: Self = Self(1i32); pub const Error: Self = Self(2i32); } impl ::core::marker::Copy for WebAccountState {} impl ::core::clone::Clone for WebAccountState { fn clone(&self) -> Self { *self } }