SDK Reference v2.0.0 / ParticipantGender

ParticipantGender

struct ParticipantGender : RawRepresentable, Equatable, Codable

Participant’s gender.


RawValue
associatedtype RawValue
rawValue
let rawValue: String

The raw string encoding the gender value in MyDataHelps.

female
static let female: MyDataHelpsKit.ParticipantGender

Female gender as represented in MyDataHelps.

male
static let male: MyDataHelpsKit.ParticipantGender

Male gender as represented in MyDataHelps.

other
static let other: MyDataHelpsKit.ParticipantGender

Other gender as represented in MyDataHelps.

init(rawValue:)
init(rawValue: String)

Initializes a ParticipantGender with an arbitrary value. Consider using static members such as ParticipantGender.female instead for known values.

rawValue

The raw string value as represented in MyDataHelps.