netzebene

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 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 Netzebene

type Netzebene int

Netzebene ist eine Auflistung möglicher Netzebenen innerhalb der Energiearten Strom und Gas.

const (
	// NSP is for Niederspannung
	NSP          Netzebene = iota + 1
	MSP                    // MSP is for Mittelspannung
	HSP                    // HSP is for Hochspannung
	HSS                    // HSS is for Hoechstspannung
	MSP_NSP_UMSP           // MSP_NSP_UMSP is for MS/NS Umspannung
	HSP_MSP_UMSP           // HSP_MSP_UMSP is for HS/MS Umspannung
	HSS_HSP_UMSP           // HSS_HSP_UMSP is for HOES/HS Umspannung
	HD                     // HD is for Hochdruck
	MD                     // MD is for Mitteldruck
	ND                     // ND is for Niederdruck
)

func (Netzebene) MarshalJSON

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

MarshalJSON is generated so Netzebene satisfies json.Marshaler.

func (*Netzebene) Scan added in v0.2.3

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

func (i Netzebene) String() string

func (*Netzebene) UnmarshalJSON

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

UnmarshalJSON is generated so Netzebene satisfies json.Unmarshaler.

func (Netzebene) Value added in v0.2.3

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