use crate::common::*;
use crate::AppKit::*;
use crate::AuthenticationServices::*;
use crate::Foundation::*;
extern_protocol!(
pub unsafe trait ASCredentialIdentity: NSObjectProtocol {
#[cfg(feature = "AuthenticationServices_ASCredentialServiceIdentifier")]
#[method_id(@__retain_semantics Other serviceIdentifier)]
unsafe fn serviceIdentifier(&self) -> Id<ASCredentialServiceIdentifier>;
#[cfg(feature = "Foundation_NSString")]
#[method_id(@__retain_semantics Other user)]
unsafe fn user(&self) -> Id<NSString>;
#[cfg(feature = "Foundation_NSString")]
#[method_id(@__retain_semantics Other recordIdentifier)]
unsafe fn recordIdentifier(&self) -> Option<Id<NSString>>;
#[method(rank)]
unsafe fn rank(&self) -> NSInteger;
#[method(setRank:)]
unsafe fn setRank(&self, rank: NSInteger);
}
unsafe impl ProtocolType for dyn ASCredentialIdentity {}
);