rufnummernart

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Code auto-generated; DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Rufnummernart

type Rufnummernart int

Rufnummernart bildet verschiedene Rufnummerntypen ab

const (
	// RUF_ZENTRALE bedeutet Rufnummer Zentrale
	RUF_ZENTRALE  Rufnummernart = iota + 1
	FAX_ZENTRALE                // FAX_ZENTRALE bedeutet Faxnummer Zentrale
	SAMMELRUF                   // SAMMELRUF bedeutet Sammelrufnummer
	SAMMELFAX                   // SAMMELFAX bedeutet Sammelfaxnummer
	ABTEILUNGRUF                // ABTEILUNGRUF bedeutet Rufnummer Abteilung
	ABTEILUNGFAX                // ABTEILUNGFAX bedeutet Faxnummer Abteilung
	RUF_DURCHWAHL               // RUF_DURCHWAHL bedeutet Rufnummer Durchwahl
	FAX_DURCHWAHL               // FAX_DURCHWAHL bedeutet Faxnummer Durchwahl
	MOBIL_NUMMER                // MOBIL_NUMMER bedeutet Nummer des mobilen Telefons
)

func (Rufnummernart) MarshalJSON

func (r Rufnummernart) MarshalJSON() ([]byte, error)

MarshalJSON is generated so Rufnummernart satisfies json.Marshaler.

func (*Rufnummernart) Scan added in v0.2.3

func (r *Rufnummernart) Scan(src interface{}) error

Scan sets r to the enum value represented by src. It implements the sql.Scanner interface to be useable by sql drivers when reading from database.

func (Rufnummernart) String

func (i Rufnummernart) String() string

func (*Rufnummernart) UnmarshalJSON

func (r *Rufnummernart) UnmarshalJSON(data []byte) error

UnmarshalJSON is generated so Rufnummernart satisfies json.Unmarshaler.

func (Rufnummernart) Value added in v0.2.3

func (r Rufnummernart) Value() (driver.Value, error)

Value returns the string representation of r or an error, if no string representation exists. It implements the sql.Valuer interface to be useable by sql drivers when storing enums.

Jump to

Keyboard shortcuts

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