gebiettyp

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 Gebiettyp

type Gebiettyp int

Gebiettyp is a list of all possible types of domains (Gebiete)

const (
	// REGELZONE is a Regelzone
	REGELZONE              Gebiettyp = iota + 1
	MARKTGEBIET                      // MARKTGEBIET is a Marktgebiet
	BILANZIERUNGSGEBIET              // BILANZIERUNGSGEBIET is a Bilanzierungsgebiet
	VERTEILNETZ                      // VERTEILNETZ is a Verteilnetz
	TRANSPORTNETZ                    // TRANSPORTNETZ is a Transportnetz
	REGIONALNETZ                     // REGIONALNETZ is a Regionalnetz
	AREALNETZ                        // AREALNETZ is a Arealnetz
	GRUNDVERSORGUNGSGEBIET           // GRUNDVERSORGUNGSGEBIET is a Grundversorgungsgebiet
	VERSORGUNGSGEBIET                // VERSORGUNGSGEBIET is a Versorgungsgebiet
)

func (Gebiettyp) MarshalJSON

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

MarshalJSON is generated so Gebiettyp satisfies json.Marshaler.

func (*Gebiettyp) Scan added in v0.2.3

func (r *Gebiettyp) 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 (Gebiettyp) String

func (i Gebiettyp) String() string

func (*Gebiettyp) UnmarshalJSON

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

UnmarshalJSON is generated so Gebiettyp satisfies json.Unmarshaler.

func (Gebiettyp) Value added in v0.2.3

func (r Gebiettyp) 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