StructureFoundation5.9.0
PersonNameComponents
struct PersonNameComponents
Citizens in Foundation
Conformances
protocol CustomDebugStringConvertible
A type with a customized textual representation suitable for debugging purposes.
protocol CustomReflectable
A type that explicitly supplies its own mirror.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Decodable
A type that can decode itself from an external representation.
protocol Encodable
A type that can encode itself to an external representation.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.protocol ReferenceConvertible
Decorates types which are backed by a Foundation reference type.
Members
init(
) init(from: Decoder
) throws var customMirror: Mirror
var debugDescription: String
var description: String
var familyName: String?
var givenName: String?
var middleName: String?
var namePrefix: String?
var nameSuffix: String?
var nickname: String?
var phoneticRepresentation: PersonNameComponents?
static func == (PersonNameComponents, PersonNameComponents
) -> Bool func encode(to: Encoder
) throws func hash(into: inout Hasher
) typealias ReferenceType