identity

package
v0.1336.0-MLPAB2279rem... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Code generated by "enumerator -type Status --linecomment --trimprefix"; DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var StatusValues = StatusOptions{
	Unknown:              StatusUnknown,
	Confirmed:            StatusConfirmed,
	Failed:               StatusFailed,
	InsufficientEvidence: StatusInsufficientEvidence,
}

Functions

This section is empty.

Types

type Status added in v0.1259.0

type Status uint8
const (
	StatusUnknown              Status = iota // unknown
	StatusConfirmed                          // confirmed
	StatusFailed                             // failed
	StatusInsufficientEvidence               // insufficient-evidence
)

func ParseStatus added in v0.1259.0

func ParseStatus(s string) (Status, error)

func (Status) IsConfirmed added in v0.1259.0

func (i Status) IsConfirmed() bool

func (Status) IsFailed added in v0.1259.0

func (i Status) IsFailed() bool

func (Status) IsInsufficientEvidence added in v0.1259.0

func (i Status) IsInsufficientEvidence() bool

func (Status) IsUnknown added in v0.1259.0

func (i Status) IsUnknown() bool

func (Status) MarshalText added in v0.1259.0

func (i Status) MarshalText() ([]byte, error)

func (Status) String added in v0.1259.0

func (i Status) String() string

func (*Status) UnmarshalText added in v0.1259.0

func (i *Status) UnmarshalText(text []byte) error

type StatusOptions added in v0.1259.0

type StatusOptions struct {
	Unknown              Status
	Confirmed            Status
	Failed               Status
	InsufficientEvidence Status
}

type UserData

type UserData struct {
	Status         Status
	FirstNames     string
	LastName       string
	DateOfBirth    date.Date
	RetrievedAt    time.Time
	CurrentAddress place.Address
}

func (UserData) MatchName

func (u UserData) MatchName(firstNames, lastName string) bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL