#[non_exhaustive]pub struct ImportedIdentity {
pub label: Option<String>,
pub key_id: Option<Vec<u8>>,
pub trust: Option<SecTrust>,
pub cert_chain: Option<Vec<SecCertificate>>,
pub identity: Option<SecIdentity>,
}Expand description
Information about an imported identity.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.label: Option<String>The label of the identity.
key_id: Option<Vec<u8>>The ID of the identity. Typically the SHA-1 hash of the public key.
trust: Option<SecTrust>A SecTrust object set up to validate this identity.
cert_chain: Option<Vec<SecCertificate>>A certificate chain validating this identity.
identity: Option<SecIdentity>The identity itself.
Auto Trait Implementations§
impl Freeze for ImportedIdentity
impl RefUnwindSafe for ImportedIdentity
impl Send for ImportedIdentity
impl Sync for ImportedIdentity
impl Unpin for ImportedIdentity
impl UnwindSafe for ImportedIdentity
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